pub struct RawFairMutex(/* private fields */);Expand description
Raw fair mutex type backed by the parking lot.
Trait Implementations§
Source§impl RawMutex for RawFairMutex
impl RawMutex for RawFairMutex
Source§type Guard = <RawMutex as RawMutex>::Guard
type Guard = <RawMutex as RawMutex>::Guard
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 RawFairMutex
impl RawMutexFair for RawFairMutex
Source§impl RawMutexTimed for RawFairMutex
impl RawMutexTimed for RawFairMutex
Auto Trait Implementations§
impl !Freeze for RawFairMutex
impl RefUnwindSafe for RawFairMutex
impl Send for RawFairMutex
impl Sync for RawFairMutex
impl Unpin for RawFairMutex
impl UnsafeUnpin for RawFairMutex
impl UnwindSafe for RawFairMutex
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