wasmer_wasix::journal

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

Source

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

Splits the journal into a read and write side

Trait Implementations§

Source§

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

Source§

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

Splits the journal into a read and write side

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§