pub struct PanicRawMutex { /* private fields */ }Expand description
A mutex that panics if locked from multiple contexts.
§Safety
This mutex is safe to share between different executors and interrupts.
Implementations§
Source§impl PanicRawMutex
impl PanicRawMutex
Trait Implementations§
Source§impl Debug for PanicRawMutex
impl Debug for PanicRawMutex
Source§impl RawMutex for PanicRawMutex
impl RawMutex for PanicRawMutex
impl Send for PanicRawMutex
impl Sync for PanicRawMutex
Auto Trait Implementations§
impl !Freeze for PanicRawMutex
impl RefUnwindSafe for PanicRawMutex
impl Unpin for PanicRawMutex
impl UnsafeUnpin for PanicRawMutex
impl UnwindSafe for PanicRawMutex
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