Struct hermit_sync::RawTicketMutex
source · pub struct RawTicketMutex { /* private fields */ }Expand description
A fair ticket lock with exponential backoff.
Trait Implementations
sourceimpl RawMutex for RawTicketMutex
impl RawMutex for RawTicketMutex
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 moresourceimpl RawMutexFair for RawTicketMutex
impl RawMutexFair for RawTicketMutex
Auto Trait Implementations
impl RefUnwindSafe for RawTicketMutex
impl Send for RawTicketMutex
impl Sync for RawTicketMutex
impl Unpin for RawTicketMutex
impl UnwindSafe for RawTicketMutex
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