spin::lock_api

Type Alias RwLockUpgradableReadGuard

source
pub type RwLockUpgradableReadGuard<'a, T> = RwLockUpgradableReadGuard<'a, RwLock<()>, T>;
Expand description

A guard that provides immutable data access but can be upgraded to RwLockWriteGuard (compatible with lock_api).

Aliased Typeยง

struct RwLockUpgradableReadGuard<'a, T> { /* private fields */ }