Struct futures_intrusive::sync::GenericMutexGuard
source · pub struct GenericMutexGuard<'a, MutexType: RawMutex, T: 'a> { /* private fields */ }
Expand description
An RAII guard returned by the lock
and try_lock
methods.
When this structure is dropped (falls out of scope), the lock will be
unlocked.
Trait Implementations
sourceimpl<MutexType: RawMutex, T: Debug> Debug for GenericMutexGuard<'_, MutexType, T>
impl<MutexType: RawMutex, T: Debug> Debug for GenericMutexGuard<'_, MutexType, T>
sourceimpl<MutexType: RawMutex, T> Deref for GenericMutexGuard<'_, MutexType, T>
impl<MutexType: RawMutex, T> Deref for GenericMutexGuard<'_, MutexType, T>
sourceimpl<MutexType: RawMutex, T> DerefMut for GenericMutexGuard<'_, MutexType, T>
impl<MutexType: RawMutex, T> DerefMut for GenericMutexGuard<'_, MutexType, T>
sourceimpl<MutexType: RawMutex, T> Drop for GenericMutexGuard<'_, MutexType, T>
impl<MutexType: RawMutex, T> Drop for GenericMutexGuard<'_, MutexType, T>
impl<MutexType: RawMutex, T: Sync> Sync for GenericMutexGuard<'_, MutexType, T>
Auto Trait Implementations
impl<'a, MutexType, T> !RefUnwindSafe for GenericMutexGuard<'a, MutexType, T>
impl<'a, MutexType, T> Send for GenericMutexGuard<'a, MutexType, T>where
MutexType: Sync,
T: Send,
impl<'a, MutexType, T> Unpin for GenericMutexGuard<'a, MutexType, T>
impl<'a, MutexType, T> !UnwindSafe for GenericMutexGuard<'a, MutexType, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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