NodeCountersMutex

Type Alias NodeCountersMutex 

Source
pub type NodeCountersMutex<MC, MF, F> = Mutex<MC, NodeCounters<MF, F>>;
Expand description

The mutex a board wraps its NodeCounters in.

The counter mutex (MC) and the flash mutex (MF) are separate parameters because a board can legitimately want different kinds: the ESP32 image guards its uncontended flash with a NoopRawMutex while the counter state, reached from the MAC pump, takes a critical section.

Aliased Typeยง

pub struct NodeCountersMutex<MC, MF, F> { /* private fields */ }