pub struct CriticalSectionRawMutex { /* private fields */ }
Expand description
A mutex that allows borrowing data across executors and interrupts.
§Safety
This mutex is safe to share between different executors and interrupts.
Implementations§
Source§impl CriticalSectionRawMutex
impl CriticalSectionRawMutex
Sourcepub const fn new() -> CriticalSectionRawMutex
pub const fn new() -> CriticalSectionRawMutex
Create a new CriticalSectionRawMutex
.
Trait Implementations§
Source§impl Debug for CriticalSectionRawMutex
impl Debug for CriticalSectionRawMutex
Source§impl RawMutex for CriticalSectionRawMutex
impl RawMutex for CriticalSectionRawMutex
impl Send for CriticalSectionRawMutex
impl Sync for CriticalSectionRawMutex
Auto Trait Implementations§
impl Freeze for CriticalSectionRawMutex
impl RefUnwindSafe for CriticalSectionRawMutex
impl Unpin for CriticalSectionRawMutex
impl UnwindSafe for CriticalSectionRawMutex
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