Struct per_thread_mutex::PerThreadMutexGuard
source · pub struct PerThreadMutexGuard<'a>(_, _);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> 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