Crate rwlock2 [−] [src]
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 |
| MutexGuard |
An RAII implementation of a "scoped lock" of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked. |
| PoisonError |
A type of error which can be returned whenever a lock is acquired. |
| RwLock |
A reader-writer lock |
| RwLockReadGuard |
RAII structure used to release the shared read access of a lock when dropped. |
| RwLockWriteGuard |
RAII structure used to release the exclusive write access of a lock when dropped. |
| WaitTimeoutResult |
A type indicating whether a timed wait on a condition variable returned due to a time out or not. |
Enums
| TryLockError |
An enumeration of possible errors which can occur while calling the
|
Type Definitions
| LockResult |
A type alias for the result of a lock method which can be poisoned. |
| TryLockResult |
A type alias for the result of a nonblocking locking method. |