#[repr(transparent)]pub struct RawMutex { /* private fields */ }
Expand description
Raw mutex type implemented with lock-free userspace thread queues.
Trait Implementations
sourceimpl RawMutex for RawMutex
impl RawMutex for RawMutex
type GuardMarker = GuardNoSend
type GuardMarker = GuardNoSend
Marker type which determines whether a lock guard should be Send
. Use
one of the GuardSend
or GuardNoSend
helper types here. Read more
Auto Trait Implementations
impl RefUnwindSafe for RawMutex
impl Send for RawMutex
impl Sync for RawMutex
impl Unpin for RawMutex
impl !UnwindSafe for RawMutex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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