Struct kernel::sync::LockClassKey
source · 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§
source§impl Default for LockClassKey
impl Default for LockClassKey
impl Sync for LockClassKey
Auto Trait Implementations§
impl !Freeze for LockClassKey
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