Struct rustix_futex_sync::RawMutex
source · pub struct RawMutex(/* private fields */);
Expand description
An implementation of lock_api::RawMutex
.
All of this RawMutex
’s methods are in its implementation of
[lock_api::RawMutex]
]. To import that trait without conflicting
with this RawMutex
type, use:
use rustix_futex_sync::lock_api::RawMutex as _;
Trait Implementations§
source§impl 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.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more