Trait State
wral
pub trait State: 'static + Clone + Sync + Send + IntoCbor + FromCbor { fn on_add_entry(&mut self, new_entry: &Entry) -> Result<()>; }
Callback trait for updating application state in relation to Wal type.
fn on_add_entry(&mut self, new_entry: &Entry) -> Result<()>
impl State for NoState
fn on_add_entry(&mut self, _: &Entry) -> Result<()>