pub struct ThreadMutexGuard<'a, R: RawMutex, G: GetThreadId, T: ?Sized> { /* private fields */ }
Implementations§
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> ThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> ThreadMutexGuard<'a, R, G, T>
Trait Implementations§
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized + Debug> Debug for ThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized + Debug> Debug for ThreadMutexGuard<'a, R, G, T>
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> Deref for ThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> Deref for ThreadMutexGuard<'a, R, G, T>
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> DerefMut for ThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized> DerefMut for ThreadMutexGuard<'a, R, G, T>
Source§impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized + Display> Display for ThreadMutexGuard<'a, R, G, T>
impl<'a, R: RawMutex, G: GetThreadId, T: ?Sized + Display> Display for ThreadMutexGuard<'a, R, G, T>
Auto Trait Implementations§
impl<'a, R, G, T> Freeze for ThreadMutexGuard<'a, R, G, T>where
T: ?Sized,
impl<'a, R, G, T> !RefUnwindSafe for ThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> !Send for ThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> Sync for ThreadMutexGuard<'a, R, G, T>
impl<'a, R, G, T> Unpin for ThreadMutexGuard<'a, R, G, T>where
T: ?Sized,
impl<'a, R, G, T> !UnwindSafe for ThreadMutexGuard<'a, R, G, 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
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