wasmer_wasix

Trait RewindPostProcess

Source
pub trait RewindPostProcess {
    // Required method
    fn finish(&mut self, res: Result<(), Errno>) -> Bytes;
}
Expand description

Trait that will be invoked after the rewind has finished It is possible that the process will be terminated rather than restored at this point

Required Methods§

Source

fn finish(&mut self, res: Result<(), Errno>) -> Bytes

Returns the serialized object that is returned on the rewind

Implementors§