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