Struct esp_idf_svc::hal::task::CriticalSection
source · pub struct CriticalSection(/* private fields */);
Implementations§
source§impl CriticalSection
impl CriticalSection
sourcepub const fn new() -> CriticalSection
pub const fn new() -> CriticalSection
Constructs a new CriticalSection
instance
pub fn enter(&self) -> CriticalSectionGuard<'_>
Trait Implementations§
source§impl Default for CriticalSection
impl Default for CriticalSection
source§fn default() -> CriticalSection
fn default() -> CriticalSection
Returns the “default value” for a type. Read more