pub type SpinlockGuard<'a, T: ?Sized> = MutexGuard<'a, RawSpinlock, T>;
Available on non-crate feature
use_std
only.Expand description
An RAII implementation of a “scoped lock” of a mutex. When this structure is dropped (falls out of scope), the lock will be unlocked.
Aliased Type§
struct SpinlockGuard<'a, T: ?Sized> { /* private fields */ }