wasmtime_wasi::bindings::sync::cli::exit

Trait 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,