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