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