pub struct RawMutex { /* private fields */ }Expand description
Raw mutex type backed by the parking lot.
Trait Implementations§
Source§impl RawMutex for RawMutex
impl RawMutex for RawMutex
Source§type Guard = GuardNoSend
type Guard = GuardNoSend
Per-acquisition state stored in the lock guard. Read more
Source§fn lock(&self) -> Self::Guard
fn lock(&self) -> Self::Guard
Acquires this mutex, blocking the current thread until it is able to do so.
Source§impl RawMutexFair for RawMutex
impl RawMutexFair for RawMutex
Auto Trait Implementations§
impl !Freeze for RawMutex
impl RefUnwindSafe for RawMutex
impl Send for RawMutex
impl Sync for RawMutex
impl Unpin for RawMutex
impl UnsafeUnpin 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