wasmtime_wasi::bindings::sync::io::streams

Trait Host

Source
pub trait Host: HostInputStream + HostOutputStream {
    // Required method
    fn convert_stream_error(&mut self, err: StreamError) -> Result<StreamError>;
}

Required Methods§

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

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