Struct hermit_sync::RawSpinMutex
source · pub struct RawSpinMutex { /* private fields */ }Expand description
A simple test and test-and-set spinlock with exponential backoff.
Trait Implementations
sourceimpl RawMutex for RawSpinMutex
impl RawMutex for RawSpinMutex
type GuardMarker = GuardSend
type GuardMarker = GuardSend
Marker type which determines whether a lock guard should be
Send. Use
one of the GuardSend or GuardNoSend helper types here. Read moreAuto Trait Implementations
impl RefUnwindSafe for RawSpinMutex
impl Send for RawSpinMutex
impl Sync for RawSpinMutex
impl Unpin for RawSpinMutex
impl UnwindSafe for RawSpinMutex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more