Trait wasmer_wasix::journal::Journal
source · pub trait Journal: WritableJournal + ReadableJournal + Debug {
// Required method
fn split(
self,
) -> (Box<dyn WritableJournal + Send + Sync>, Box<dyn ReadableJournal + Send + Sync>);
}
Expand description
The snapshot capturer will take a series of objects that represents the state of a WASM process at a point in time and saves it so that it can be restored. It also allows for the restoration of that state at a later moment
Required Methods§
sourcefn split(
self,
) -> (Box<dyn WritableJournal + Send + Sync>, Box<dyn ReadableJournal + Send + Sync>)
fn split( self, ) -> (Box<dyn WritableJournal + Send + Sync>, Box<dyn ReadableJournal + Send + Sync>)
Splits the journal into a read and write side