Module concurrency_traits::rw_lock [−][src]
Expand description
Traits for RwLocks
Structs
CustomReadGuard | The read guard for |
CustomRwLock | A custom rw lock that can be built from any |
CustomWriteGuard | The write guard for |
RawAtomicRwLock | The raw portion of |
RawSpinRwLock | The raw portion of |
Traits
AsyncRwLock | A generic async reader-writer lock trait |
AsyncTimeoutRwLock | An async RwLock that can be timed out on |
AsyncTimeoutUpgradeRwLock | An async rwlock that has read guards that can be upgraded asynchronously with a timeout. |
AsyncTimoutUpgradeReadGuard | A read guard that can be upgraded to a write guard asynchronously with a timeout. |
AsyncUpgradeReadGuard | A read guard that can be upgraded to a write guard asynchronously |
AsyncUpgradeRwLock | An async rwlock that has read guards that can be upgraded asynchronously |
DowngradeRwLock | An rwlock that has write guards that can be downgraded. |
DowngradeWriteGuard | A write guard that can be downgraded. |
RawAsyncRwLock | A raw async rw lock that stores no data |
RawAsyncTimeoutRwLock | A raw async timeout rw lock that stores no data |
RawAsyncTimeoutUpgradeRwLock | Raw version of |
RawAsyncUpgradeRwLock | Raw version of |
RawDowngradeRwLock | A raw rw lock which has guards that can be downgraded. |
RawRwLock | A raw rw lock that stores no data |
RawTimeoutRwLock | A raw timeout rw lock that stores no data |
RawTryRwLock | A raw try rw lock that stores no data |
RawTryUpgradeRwLock | A raw rw lock which has guards that can try to be upgraded. |
RawUpgradeRwLock | A raw rw lock which has guards that can be upgraded. |
RawUpgradeTimeoutRwLock | A raw rw lock which has guards that can be upgraded on a timeout. |
RwLock | A generic blocking reader-writer lock trait |
RwLockSized | The functions for |
TimeoutRwLock | An RwLock that can be timed out on |
TimeoutRwLockSized | The functions for |
TryRwLock | A non-blocking rwlock with try functions |
TryRwLockSized | The functions for |
TryUpgradeReadGuard | A read guard that can be try to be upgraded to a write guard |
TryUpgradeRwLock | An rwlock that has read guards that can try to be upgraded |
UpgradeReadGuard | A read guard that can be upgraded to a write guard |
UpgradeRwLock | An rwlock that has read guards that can be upgraded |
UpgradeTimeoutReadGuard | A read guard that can be upgraded to a write guard |
UpgradeTimeoutRwLock | An rwlock that has read guards that can be upgraded on a timeout. |
Type Definitions
AtomicRwLock | A read-write lock that only supports try operations ( |
SpinRwLock | A read-write lock that spins to wait. Should only be locked for short durations. |