Struct hermit_sync::RawInterruptMutex
source · pub struct RawInterruptMutex<I> { /* private fields */ }Expand description
An interrupt-safe mutex.
This mutex wraps another RawMutex and disables interrupts while locked.
Trait Implementations
sourceimpl<I: RawMutex> RawMutex for RawInterruptMutex<I>
impl<I: RawMutex> RawMutex for RawInterruptMutex<I>
type GuardMarker = <I as RawMutex>::GuardMarker
type GuardMarker = <I as RawMutex>::GuardMarker
Marker type which determines whether a lock guard should be
Send. Use
one of the GuardSend or GuardNoSend helper types here. Read moreAuto Trait Implementations
impl<I> RefUnwindSafe for RawInterruptMutex<I>where
I: RefUnwindSafe,
impl<I> Send for RawInterruptMutex<I>where
I: Send,
impl<I> Sync for RawInterruptMutex<I>where
I: Sync,
impl<I> Unpin for RawInterruptMutex<I>where
I: Unpin,
impl<I> UnwindSafe for RawInterruptMutex<I>where
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more