Type Alias wasmer_journal::DynReadableJournal
source · pub type DynReadableJournal = dyn ReadableJournal + Send + Sync;
Trait Implementations§
source§impl ReadableJournal for Box<DynReadableJournal>
impl ReadableJournal for Box<DynReadableJournal>
source§fn read(&self) -> Result<Option<LogReadResult<'_>>>
fn read(&self) -> Result<Option<LogReadResult<'_>>>
Returns a stream of snapshot objects that the runtime will use
to restore the state of a WASM process to a previous moment in time
source§fn as_restarted(&self) -> Result<Box<DynReadableJournal>>
fn as_restarted(&self) -> Result<Box<DynReadableJournal>>
Resets the journal so that reads will start from the
beginning again