Struct parking_lot::RawFairMutex [−][src]
pub struct RawFairMutex(_);
Expand description
Raw fair mutex type backed by the parking lot.
Trait Implementations
type GuardMarker = <RawMutex as RawMutex>::GuardMarker
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
Attempts to acquire this mutex without blocking. Returns true
if the lock was successfully acquired and false
otherwise. Read more
type Duration = <RawMutex as RawMutexTimed>::Duration
type Duration = <RawMutex as RawMutexTimed>::Duration
Duration type used for try_lock_for
.
type Instant = <RawMutex as RawMutexTimed>::Instant
type Instant = <RawMutex as RawMutexTimed>::Instant
Instant type used for try_lock_until
.
Attempts to acquire this lock until a timeout is reached.
Attempts to acquire this lock until a timeout is reached.