Type Alias spin::lock_api::RwLockUpgradableReadGuard
source · pub type RwLockUpgradableReadGuard<'a, T> = RwLockUpgradableReadGuard<'a, RwLock<()>, T>;
Available on crate features
lock_api
and rwlock
only.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 */ }