Expand description
slate-kv-hal
Structs§
- Blocking
Counter - Same bridge for the counter.
- Blocking
Flash - Lifts any blocking
FlashintoAsyncFlashby returning already-ready futures. This is the zero-cost bridge that keepstargets/esp32,slate-kv,slate-kv-ffiand every existing board crate compiling unchanged.
Enums§
- Counter
Kind - Type of monotonic counter.
Traits§
- Async
Flash - Async twin of
Flash. Method-for-method identical, including the program-once-per-erase contract (§2.1) and theErrorassociated type. - Async
Monotonic Counter - Async twin of
MonotonicCounter.incrementis a DURABLE write on every backend that matters (RTC-backed NVS, I2C EEPROM, secure element), so it is exactly as deserving of a yield point asFlash::program. - Clock
- Optional coarse clock for the deadline clamp (doc 008); ticks in ms.
- Entropy
Source - Source of entropy.
- Flash
- Report §2.1: program-once-per-erase NOR flash with detectable tearing.
- Monotonic
Counter - Report §2.4 / §3.4: hardware monotonic counter, honest-degradation aware.