Expand description
§rwlock2
A temporary fork of the RwLock type from std, supplying map
methods
on the Read and Write guard types.
When these methods land in std, this crate will be obsolete.
Structs§
- Condvar
- A Condition Variable
- Mutex
- A mutual exclusion primitive useful for protecting shared data
- Mutex
Guard - An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
- Poison
Error - A type of error which can be returned whenever a lock is acquired.
- RwLock
- A reader-writer lock
- RwLock
Read Guard - RAII structure used to release the shared read access of a lock when dropped.
- RwLock
Write Guard - RAII structure used to release the exclusive write access of a lock when dropped.
- Wait
Timeout Result - A type indicating whether a timed wait on a condition variable returned due to a time out or not.
Enums§
- TryLock
Error - An enumeration of possible errors which can occur while calling the
try_lock
method.
Type Aliases§
- Lock
Result - A type alias for the result of a lock method which can be poisoned.
- TryLock
Result - A type alias for the result of a nonblocking locking method.