Trait wasmtime_wasi::bindings::sync::cli::exit::Host

source ·
pub trait Host: Send {
    // 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.

Implementations on Foreign Types§

source§

impl<_T: Host + ?Sized + Send> Host for &mut _T

source§

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

Exit the current instance and any linked instances.

Implementors§

source§

impl<T> Host for WasiImpl<T>
where T: WasiView,