pub struct MutexGuard<'a, T: ?Sized + 'a, M>where
M: MutexInnerImpl + 'a,{ /* private fields */ }
Expand description
Holds the mutex until we are dropped
Trait Implementations§
Source§impl<'mutex, T: ?Sized, M> Deref for MutexGuard<'mutex, T, M>where
M: MutexInnerImpl,
impl<'mutex, T: ?Sized, M> Deref for MutexGuard<'mutex, T, M>where
M: MutexInnerImpl,
Source§impl<'mutex, T: ?Sized, M> DerefMut for MutexGuard<'mutex, T, M>where
M: MutexInnerImpl,
impl<'mutex, T: ?Sized, M> DerefMut for MutexGuard<'mutex, T, M>where
M: MutexInnerImpl,
Source§impl<'a, T: ?Sized, M> Drop for MutexGuard<'a, T, M>where
M: MutexInnerImpl,
impl<'a, T: ?Sized, M> Drop for MutexGuard<'a, T, M>where
M: MutexInnerImpl,
Auto Trait Implementations§
impl<'a, T, M> Freeze for MutexGuard<'a, T, M>where
T: ?Sized,
impl<'a, T, M> !RefUnwindSafe for MutexGuard<'a, T, M>
impl<'a, T, M> !Send for MutexGuard<'a, T, M>
impl<'a, T, M> !Sync for MutexGuard<'a, T, M>
impl<'a, T, M> Unpin for MutexGuard<'a, T, M>where
T: ?Sized,
impl<'a, T, M> !UnwindSafe for MutexGuard<'a, T, M>
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