Module rwmutex

Source

Structsยง

RwMutex
A mutex that provides data access to either one writer or many readers.
RwMutexReadGuard_
A guard that provides immutable data access.
RwMutexUpgradeableGuard_
A guard that provides immutable data access but can be atomically upgraded to RwMutexWriteGuard.
RwMutexWriteGuard_
A guard that provides mutable data access.

Constantsยง

BEING_UPGRADED ๐Ÿ”’
MAX_READER ๐Ÿ”’
READER ๐Ÿ”’
UPGRADEABLE_READER ๐Ÿ”’
WRITER ๐Ÿ”’

Type Aliasesยง

ArcRwMutexReadGuard
A guard that provides shared read access to the data protected by a Arc<RwMutex>.
ArcRwMutexUpgradeableGuard
A upgradable guard that provides read access to the data protected by a Arc<RwMutex>.
ArcRwMutexWriteGuard
A guard that provides exclusive write access to the data protected by a Arc<RwMutex>.
RwMutexReadGuard
A guard that provides shared read access to the data protected by a RwMutex.
RwMutexUpgradeableGuard
A upgradable guard that provides read access to the data protected by a RwMutex.
RwMutexWriteGuard
A guard that provides exclusive write access to the data protected by a RwMutex.