pub trait Journal:
WritableJournal
+ ReadableJournal
+ Debug {
// Required method
fn split(
self,
) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>);
}
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 + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)
fn split( self, ) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)
Splits the journal into a read and write side