Struct kernel::sync::NoWaitLockGuard
source · [−]pub struct NoWaitLockGuard<'a, T: ?Sized> { /* private fields */ }
Expand description
A guard for the holder of the no-wait lock.
Invariants
Only the current owner can have an instance of NoWaitLockGuard
.
Implementations
Trait Implementations
sourceimpl<T: ?Sized> Deref for NoWaitLockGuard<'_, T>
impl<T: ?Sized> Deref for NoWaitLockGuard<'_, T>
sourceimpl<T: ?Sized> DerefMut for NoWaitLockGuard<'_, T>
impl<T: ?Sized> DerefMut for NoWaitLockGuard<'_, T>
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for NoWaitLockGuard<'a, T>
impl<'a, T: ?Sized> Send for NoWaitLockGuard<'a, T> where
T: Send,
impl<'a, T: ?Sized> Sync for NoWaitLockGuard<'a, T> where
T: Send,
impl<'a, T: ?Sized> Unpin for NoWaitLockGuard<'a, T>
impl<'a, T> !UnwindSafe for NoWaitLockGuard<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more