Trait wasmtime_wasi::preview2::bindings::wasi::cli::exit::Host

source ·
pub trait Host {
    // Required method
    fn exit(&mut self, status: Result<(), ()>) -> Result<()>;
}

Required Methods§

source

fn exit(&mut self, status: Result<(), ()>) -> Result<()>

Exit the current instance and any linked instances.

Implementors§

source§

impl<T: WasiView> Host for T