pub type SunsetMutex<T> = Mutex<SunsetRawMutex, T>;Expand description
An async mutex
This is the Mutex type used internally
by sunset-async.
When multi-thread feature is enabled it will use
embassy-sync’s CriticalSectionRawMutex, otherwise it will
use NoopRawMutex (no locking is required for single threaded).
Aliased Type§
pub struct SunsetMutex<T> { /* private fields */ }