wasmtime_wasi_http::bindings::io::streams

Trait Host

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

Required Methods§

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

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