# spin::rw_lock - Rust
A lock that provides data access to either one writer or many readers.
Keywords: rust, rustlang, rust-lang, rw_lock

# Module spin::rw_lock

source · [−]
Expand description

A lock that provides data access to either one writer or many readers.

## Structs

RwLock

A lock that provides data access to either one writer or many readers.

RwLockReadGuard

A guard that provides immutable data access.

RwLockUpgradableGuard

A guard that provides immutable data access but can be upgraded to `RwLockWriteGuard`.

RwLockWriteGuard

A guard that provides mutable data access.