Struct parking_lot::RawFairMutex [−][src]
pub struct RawFairMutex(_);
Raw fair mutex type backed by the parking lot.
Trait Implementations
impl RawMutex for RawFairMutex
[src]
impl RawMutex for RawFairMutex
[src]const INIT: Self
[src]
type GuardMarker = <RawMutex as RawMutex>::GuardMarker
Marker type which determines whether a lock guard should be Send
. Use
one of the GuardSend
or GuardNoSend
helper types here. Read more
fn lock(&self)
[src]
fn try_lock(&self) -> bool
[src]
unsafe fn unlock(&self)
[src]
fn is_locked(&self) -> bool
[src]
impl RawMutexFair for RawFairMutex
[src]
impl RawMutexFair for RawFairMutex
[src]unsafe fn unlock_fair(&self)
[src]
unsafe fn bump(&self)
[src]
impl RawMutexTimed for RawFairMutex
[src]
impl RawMutexTimed for RawFairMutex
[src]type Duration = <RawMutex as RawMutexTimed>::Duration
Duration type used for try_lock_for
.
type Instant = <RawMutex as RawMutexTimed>::Instant
Instant type used for try_lock_until
.