Type Alias spin::RwLockUpgradableGuard
source · pub type RwLockUpgradableGuard<'a, T> = RwLockUpgradableGuard<'a, T>;
Available on crate feature
rwlock
only.Expand description
A guard that provides immutable data access but can be upgraded to RwLockWriteGuard
. See
rwlock::RwLockUpgradableGuard
for documentation.
A note for advanced users: this alias exists to avoid subtle type inference errors due to the default relax strategy type parameter. If you need a non-default relax strategy, use the fully-qualified path.
Aliased Type§
struct RwLockUpgradableGuard<'a, T> { /* private fields */ }