pub struct MappedThreadMutexGuard<'a, R: RawMutex, G: GetThreadId, T: ?Sized> { /* private fields */ }Implementations§
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> MappedThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> MappedThreadMutexGuard<'a, R, G, T>
Trait Implementations§
Source§impl<R: RawMutex, G: GetThreadId, T: ?Sized + Debug> Debug for MappedThreadMutexGuard<'_, R, G, T>
impl<R: RawMutex, G: GetThreadId, T: ?Sized + Debug> Debug for MappedThreadMutexGuard<'_, R, G, T>
Source§impl<R: RawMutex, G: GetThreadId, T: ?Sized> Deref for MappedThreadMutexGuard<'_, R, G, T>
impl<R: RawMutex, G: GetThreadId, T: ?Sized> Deref for MappedThreadMutexGuard<'_, R, G, T>
Source§impl<R: RawMutex, G: GetThreadId, T: ?Sized> DerefMut for MappedThreadMutexGuard<'_, R, G, T>
impl<R: RawMutex, G: GetThreadId, T: ?Sized> DerefMut for MappedThreadMutexGuard<'_, R, G, T>
Source§impl<R: RawMutex, G: GetThreadId, T: ?Sized + Display> Display for MappedThreadMutexGuard<'_, R, G, T>
impl<R: RawMutex, G: GetThreadId, T: ?Sized + Display> Display for MappedThreadMutexGuard<'_, R, G, T>
Source§impl<R: RawMutex, G: GetThreadId, T: ?Sized> Drop for MappedThreadMutexGuard<'_, R, G, T>
impl<R: RawMutex, G: GetThreadId, T: ?Sized> Drop for MappedThreadMutexGuard<'_, R, G, T>
Auto Trait Implementations§
impl<'a, R, G, T> !Send for MappedThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> !Sync for MappedThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> !UnwindSafe for MappedThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> Freeze for MappedThreadMutexGuard<'a, R, G, T>where
&'a RawThreadMutex<R, G>: Freeze,
NonNull<T>: Freeze,
PhantomData<(&'a mut T, GuardNoSend)>: Freeze,
T: ?Sized,
impl<'a, R, G, T> RefUnwindSafe for MappedThreadMutexGuard<'a, R, G, T>where
&'a RawThreadMutex<R, G>: RefUnwindSafe,
NonNull<T>: RefUnwindSafe,
PhantomData<(&'a mut T, GuardNoSend)>: RefUnwindSafe,
T: ?Sized,
impl<'a, R, G, T> Unpin for MappedThreadMutexGuard<'a, R, G, T>where
&'a RawThreadMutex<R, G>: Unpin,
NonNull<T>: Unpin,
PhantomData<(&'a mut T, GuardNoSend)>: Unpin,
T: ?Sized,
impl<'a, R, G, T> UnsafeUnpin for MappedThreadMutexGuard<'a, R, G, T>where
&'a RawThreadMutex<R, G>: UnsafeUnpin,
NonNull<T>: UnsafeUnpin,
PhantomData<(&'a mut T, GuardNoSend)>: UnsafeUnpin,
T: ?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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
impl<T, U> ImaginaryInto<U> for Twhere
U: ImaginaryFrom<T>,
fn imaginary_into(self) -> U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more