pub struct NodeCounters<MF: RawMutex + 'static, F: JournalFlash + 'static> { /* private fields */ }Expand description
RAM image + journal handle behind NodeCounterStore.
Lives in a board’s StaticCell rather than a plain static because
the journal handle carries the board’s flash reference, which is
deliberately only ever shared through the cell pattern.
Implementations§
Source§impl<MF: RawMutex + 'static, F: JournalFlash + 'static> NodeCounters<MF, F>
impl<MF: RawMutex + 'static, F: JournalFlash + 'static> NodeCounters<MF, F>
Trait Implementations§
Source§impl<MF: RawMutex + 'static, F: JournalFlash + 'static> Default for NodeCounters<MF, F>
impl<MF: RawMutex + 'static, F: JournalFlash + 'static> Default for NodeCounters<MF, F>
Auto Trait Implementations§
impl<MF, F> Freeze for NodeCounters<MF, F>
impl<MF, F> !RefUnwindSafe for NodeCounters<MF, F>
impl<MF, F> Send for NodeCounters<MF, F>
impl<MF, F> Sync for NodeCounters<MF, F>
impl<MF, F> Unpin for NodeCounters<MF, F>
impl<MF, F> !UnwindSafe for NodeCounters<MF, F>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more