Module guard

Source
Expand description

Type aliases for guards.

Type Aliasesยง

BackoffRwSpinlockReadGuard
A lock_api::RwLockReadGuard based on RawRwSpinlock<Backoff>.
BackoffRwSpinlockUpgradableReadGuard
A lock_api::RwLockUpgradableReadGuard based on RawRwSpinlock<Backoff>.
BackoffRwSpinlockWriteGuard
A lock_api::RwLockWriteGuard based on RawRwSpinlock<Backoff>.
BackoffSpinlockGuard
A RAII guard that frees the exponential backoff spinlock when it goes out of scope.
MappedBackoffSpinlockGuard
A RAII guard returned by BackoffSpinlockGuard::map.
MappedSpinlockGuard
A RAII guard returned by SpinlockGuard::map.
RwSpinlockReadGuard
A lock_api::RwLockReadGuard based on RawRwSpinlock.
RwSpinlockUpgradableReadGuard
A lock_api::RwLockUpgradableReadGuard based on RawRwSpinlock.
RwSpinlockWriteGuard
A lock_api::RwLockWriteGuard based on RawRwSpinlock.
SpinlockGuard
A RAII guard that frees the spinlock when it goes out of scope.