Struct parking_lot::RawMutex
source · pub struct RawMutex { /* private fields */ }
Expand description
Raw mutex type backed by the parking lot.
Trait Implementations§
source§impl RawMutex for RawMutex
impl RawMutex for RawMutex
§type GuardMarker = GuardNoSend
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 moresource§impl RawMutexFair for RawMutex
impl RawMutexFair for RawMutex
source§impl RawMutexTimed for RawMutex
impl RawMutexTimed for RawMutex
source§fn try_lock_until(&self, timeout: Instant) -> bool
fn try_lock_until(&self, timeout: Instant) -> bool
Attempts to acquire this lock until a timeout is reached.
source§fn try_lock_for(&self, timeout: Duration) -> bool
fn try_lock_for(&self, timeout: Duration) -> bool
Attempts to acquire this lock until a timeout is reached.