type Log = Log<'static, Nvmc>;
Aliased Type§
struct Log {Show 17 fields
volume: &'static [u8],
capacity: usize,
driver: &'static Nvmc,
pagebuffer: TakeCell<'static, NrfPage>,
page_size: usize,
circular: bool,
read_client: OptionalCell<&'static dyn LogReadClient>,
append_client: OptionalCell<&'static dyn LogWriteClient>,
state: Cell<State>,
oldest_entry_id: Cell<usize>,
read_entry_id: Cell<usize>,
append_entry_id: Cell<usize>,
deferred_call: DeferredCall,
buffer: TakeCell<'static, [u8]>,
length: Cell<usize>,
records_lost: Cell<bool>,
error: Cell<Result<(), ErrorCode>>,
}
Fields§
§volume: &'static [u8]
§capacity: usize
§driver: &'static Nvmc
§pagebuffer: TakeCell<'static, NrfPage>
§page_size: usize
§circular: bool
§read_client: OptionalCell<&'static dyn LogReadClient>
§append_client: OptionalCell<&'static dyn LogWriteClient>
§state: Cell<State>
§oldest_entry_id: Cell<usize>
§read_entry_id: Cell<usize>
§append_entry_id: Cell<usize>
§deferred_call: DeferredCall
§buffer: TakeCell<'static, [u8]>
§length: Cell<usize>
§records_lost: Cell<bool>
§error: Cell<Result<(), ErrorCode>>