Skip to main content

Crate slate_kv_hal

Crate slate_kv_hal 

Source
Expand description

slate-kv-hal

Structs§

BlockingCounter
Same bridge for the counter.
BlockingFlash
Lifts any blocking Flash into AsyncFlash by returning already-ready futures. This is the zero-cost bridge that keeps targets/esp32, slate-kv, slate-kv-ffi and every existing board crate compiling unchanged.

Enums§

CounterKind
Type of monotonic counter.

Traits§

AsyncFlash
Async twin of Flash. Method-for-method identical, including the program-once-per-erase contract (§2.1) and the Error associated type.
AsyncMonotonicCounter
Async twin of MonotonicCounter. increment is 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 as Flash::program.
Clock
Optional coarse clock for the deadline clamp (doc 008); ticks in ms.
EntropySource
Source of entropy.
Flash
Report §2.1: program-once-per-erase NOR flash with detectable tearing.
MonotonicCounter
Report §2.4 / §3.4: hardware monotonic counter, honest-degradation aware.