pub struct MappedMutexGuard<'a, M, T>{ /* private fields */ }
Expand description
A handle to a held Mutex
that has had a function applied to it via MutexGuard::map
or
MappedMutexGuard::map
.
This can be used to hold a subfield of the protected data.
Implementations§
Trait Implementations§
Source§impl<'a, M, T> Debug for MappedMutexGuard<'a, M, T>
impl<'a, M, T> Debug for MappedMutexGuard<'a, M, T>
Source§impl<'a, M, T> Deref for MappedMutexGuard<'a, M, T>
impl<'a, M, T> Deref for MappedMutexGuard<'a, M, T>
Source§impl<'a, M, T> DerefMut for MappedMutexGuard<'a, M, T>
impl<'a, M, T> DerefMut for MappedMutexGuard<'a, M, T>
Source§impl<'a, M, T> Display for MappedMutexGuard<'a, M, T>
impl<'a, M, T> Display for MappedMutexGuard<'a, M, T>
Source§impl<'a, M, T> Drop for MappedMutexGuard<'a, M, T>
impl<'a, M, T> Drop for MappedMutexGuard<'a, M, T>
impl<M, T> Send for MappedMutexGuard<'_, M, T>
impl<M, T> Sync for MappedMutexGuard<'_, M, T>
Auto Trait Implementations§
impl<'a, M, T> Freeze for MappedMutexGuard<'a, M, T>where
T: ?Sized,
impl<'a, M, T> !RefUnwindSafe for MappedMutexGuard<'a, M, T>
impl<'a, M, T> Unpin for MappedMutexGuard<'a, M, T>where
T: ?Sized,
impl<'a, M, T> !UnwindSafe for MappedMutexGuard<'a, M, 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