Type Alias wasmer_journal::DynWritableJournal

source ·
pub type DynWritableJournal = dyn WritableJournal + Send + Sync;

Trait Implementations§

source§

impl WritableJournal for Box<DynWritableJournal>

source§

fn write<'a>(&'a self, entry: JournalEntry<'a>) -> Result<LogWriteResult>

Takes in a stream of snapshot log entries and saves them so that they may be restored at a later moment
source§

fn flush(&self) -> Result<()>

Flushes the data to disk or network