pub struct TryMutexGuard<'a, T: 'a> { /* private fields */ }
Expand description
A RAII scoped lock on a TryMutex
. When this this structure is dropped, the
mutex will be unlocked.
Trait Implementations§
Source§impl<'a, T: Debug> Debug for TryMutexGuard<'a, T>
impl<'a, T: Debug> Debug for TryMutexGuard<'a, T>
Source§impl<'a, T> Deref for TryMutexGuard<'a, T>
impl<'a, T> Deref for TryMutexGuard<'a, T>
Source§impl<'a, T> DerefMut for TryMutexGuard<'a, T>
impl<'a, T> DerefMut for TryMutexGuard<'a, T>
Source§impl<'a, T: Display> Display for TryMutexGuard<'a, T>
impl<'a, T: Display> Display for TryMutexGuard<'a, T>
Source§impl<'a, T> Drop for TryMutexGuard<'a, T>
impl<'a, T> Drop for TryMutexGuard<'a, T>
impl<'a, T: Send> Send for TryMutexGuard<'a, T>
impl<'a, T: Sync> Sync for TryMutexGuard<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for TryMutexGuard<'a, T>
impl<'a, T> RefUnwindSafe for TryMutexGuard<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Unpin for TryMutexGuard<'a, T>
impl<'a, T> UnwindSafe for TryMutexGuard<'a, T>where
T: RefUnwindSafe,
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