[−][src]Trait embedded_hal::mutex::Mutex
A generic mutex abstraction.
This trait by itself is not that useful, RoMutex
and RwMutex
have this
as their common requirement. See the module root for more info.
Associated Types
type CreationError
[−]
Creation Error
Required methods
fn create(v: T) -> Result<Self, Self::CreationError>
[−]
Create a new mutex of this type.
Implementors
impl<T, M> Mutex<T> for M where
M: RefCellRw + RoMutex<RefCell<T>>,
[src][−]
M: RefCellRw + RoMutex<RefCell<T>>,