Struct shared_bus::XtensaMutex
source · pub struct XtensaMutex<T>(/* private fields */);
Expand description
Wrapper for an interrupt free spin mutex.
Based on spin::Mutex
. This mutex works by disabling
interrupts while the mutex is locked.
This type is only available with the xtensa
feature.
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for XtensaMutex<T>
impl<T> Send for XtensaMutex<T>where T: Send,
impl<T> Sync for XtensaMutex<T>where T: Send,
impl<T> Unpin for XtensaMutex<T>where T: Unpin,
impl<T> UnwindSafe for XtensaMutex<T>where T: UnwindSafe,
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