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§

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>)

Implementors§