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