pub struct PerThreadMutexGuard<'a>(/* private fields */);
Expand description
Guard indicating that the per-thread lock is still acquired. Dropping this lock causes all waiters to be woken up. This mutex is not fair so the lock will be acquired by the first thread that requests the acquisition.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PerThreadMutexGuard<'a>
impl<'a> RefUnwindSafe for PerThreadMutexGuard<'a>
impl<'a> Send for PerThreadMutexGuard<'a>
impl<'a> Sync for PerThreadMutexGuard<'a>
impl<'a> Unpin for PerThreadMutexGuard<'a>
impl<'a> UnwindSafe for PerThreadMutexGuard<'a>
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