Struct esp_idf_svc::hal::task::embassy_sync::EspRawMutex
source · pub struct EspRawMutex(/* private fields */);
Expand description
A mutex that allows borrowing data across executors but NOT accross interrupts.
§Safety
This mutex is safe to share between different executors.
Implementations§
source§impl EspRawMutex
impl EspRawMutex
sourcepub const fn new() -> EspRawMutex
pub const fn new() -> EspRawMutex
Create a new EspRawMutex
.