Struct parking_lot::RawRwLock [−][src]
pub struct RawRwLock { /* fields omitted */ }
Expand description
Raw reader-writer lock 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
Acquires an exclusive lock, blocking the current thread until it is able to do so.
Attempts to acquire an exclusive lock without blocking.
Releases an exclusive lock. Read more
Acquires a shared lock, blocking the current thread until it is able to do so.
Attempts to acquire a shared lock without blocking.
Releases a shared lock. Read more
Acquires a shared lock without deadlocking in case of a recursive lock.
Attempts to acquire a shared lock without deadlocking in case of a recursive lock.
Attempts to acquire a shared lock until a timeout is reached.
Attempts to acquire a shared lock until a timeout is reached.
Attempts to acquire an exclusive lock until a timeout is reached.
Attempts to acquire an exclusive lock until a timeout is reached.
Attempts to acquire an upgradable lock until a timeout is reached.
Attempts to acquire an upgradable lock until a timeout is reached.
Attempts to upgrade an upgradable lock to an exclusive lock until a timeout is reached. Read more
Attempts to upgrade an upgradable lock to an exclusive lock until a timeout is reached. Read more