Struct parking_lot::RawMutex
source · [−]pub struct RawMutex { /* private fields */ }
Expand description
Raw mutex type backed by the parking lot.
Trait Implementations
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 more
Attempts to acquire this mutex without blocking. Returns true
if the lock was successfully acquired and false
otherwise. Read more
Attempts to acquire this lock until a timeout is reached.
Attempts to acquire this lock until a timeout is reached.