Type Definition parking_lot::FairMutexGuard [−][src]
pub type FairMutexGuard<'a, T> = MutexGuard<'a, RawFairMutex, T>;
Expand description
An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
The data protected by the mutex can be accessed through this guard via its
Deref
and DerefMut
implementations.