pub struct ThreadModeRawMutex { /* private fields */ }
Expand description
A “mutex” that only allows borrowing from thread mode.
§Safety
This Mutex is only safe on single-core systems.
On multi-core systems, a ThreadModeRawMutex
is not sufficient to ensure exclusive access.
Implementations§
Trait Implementations§
Source§impl Drop for ThreadModeRawMutex
impl Drop for ThreadModeRawMutex
Source§impl RawMutex for ThreadModeRawMutex
impl RawMutex for ThreadModeRawMutex
impl Send for ThreadModeRawMutex
impl Sync for ThreadModeRawMutex
Auto Trait Implementations§
impl Freeze for ThreadModeRawMutex
impl RefUnwindSafe for ThreadModeRawMutex
impl Unpin for ThreadModeRawMutex
impl UnwindSafe for ThreadModeRawMutex
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