Struct kernel::sync::LockClassKey
source · #[repr(transparent)]pub struct LockClassKey(/* private fields */);
Expand description
Represents a lockdep class. It’s a wrapper around C’s lock_class_key
.
Implementations§
source§impl LockClassKey
impl LockClassKey
Trait Implementations§
impl Sync for LockClassKey
Auto Trait Implementations§
impl !RefUnwindSafe for LockClassKey
impl Send for LockClassKey
impl !Unpin for LockClassKey
impl UnwindSafe for LockClassKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more