Type Alias SpinlockGuard

1.0.0 · Source
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 */ }

Trait Implementations§

1.0.0 · Source§

impl<T> SpinlockGuardExt for SpinlockGuard<'_, T>