Struct embassy_sync::blocking_mutex::raw::ThreadModeRawMutex
source · 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