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
.
Trait Implementations§
source§impl Default for EspRawMutex
impl Default for EspRawMutex
source§fn default() -> EspRawMutex
fn default() -> EspRawMutex
Returns the “default value” for a type. Read more