pub struct NodeCounterStore<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static> { /* private fields */ }Expand description
The device node’s [umsh_hal::CounterStore].
Implementations§
Source§impl<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static> NodeCounterStore<MC, MF, F>
impl<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static> NodeCounterStore<MC, MF, F>
pub fn new(counters: &'static NodeCountersMutex<MC, MF, F>) -> Self
Trait Implementations§
Source§impl<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static> CounterStore for NodeCounterStore<MC, MF, F>
impl<MC: RawMutex + 'static, MF: RawMutex + 'static, F: JournalFlash + 'static> CounterStore for NodeCounterStore<MC, MF, F>
Auto Trait Implementations§
impl<MC, MF, F> Freeze for NodeCounterStore<MC, MF, F>
impl<MC, MF, F> !RefUnwindSafe for NodeCounterStore<MC, MF, F>
impl<MC, MF, F> Send for NodeCounterStore<MC, MF, F>
impl<MC, MF, F> Sync for NodeCounterStore<MC, MF, F>
impl<MC, MF, F> Unpin for NodeCounterStore<MC, MF, F>
impl<MC, MF, F> !UnwindSafe for NodeCounterStore<MC, 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