Struct tokio::sync::mutex::MutexGuardInner
source · struct MutexGuardInner<'a, T: ?Sized> {
lock: &'a Mutex<T>,
}
Expand description
A helper type used when taking apart a MutexGuard
without running its
Drop implementation.
Fields§
§lock: &'a Mutex<T>
Auto Trait Implementations§
impl<'a, T> Freeze for MutexGuardInner<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for MutexGuardInner<'a, T>
impl<'a, T> Send for MutexGuardInner<'a, T>
impl<'a, T> Sync for MutexGuardInner<'a, T>
impl<'a, T> Unpin for MutexGuardInner<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for MutexGuardInner<'a, T>
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