wasmer_wasix::journal

Trait Journal

Source
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§

Source

fn split( self, ) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)

Splits the journal into a read and write side

Trait Implementations§

Source§

impl Journal for Box<dyn Journal + Sync + Send>

Source§

fn split( self, ) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)

Splits the journal into a read and write side

Implementations on Foreign Types§

Source§

impl Journal for Box<dyn Journal + Sync + Send>

Source§

fn split( self, ) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)

Source§

impl Journal for Arc<dyn Journal + Sync + Send>

Source§

fn split( self, ) -> (Box<dyn WritableJournal + Sync + Send>, Box<dyn ReadableJournal + Sync + Send>)

Implementors§