Struct parking_lot::RawMutex [−][src]
pub struct RawMutex { /* fields omitted */ }
Raw mutex type backed by the parking lot.
Trait Implementations
impl RawMutex for RawMutex
[src]
impl RawMutex for RawMutex
[src]const INIT: RawMutex
[src]
type GuardMarker = GuardNoSend
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 RawMutex
[src]
impl RawMutexFair for RawMutex
[src]unsafe fn unlock_fair(&self)
[src]
unsafe fn bump(&self)
[src]
impl RawMutexTimed for RawMutex
[src]
impl RawMutexTimed for RawMutex
[src]