wasmtime_wasi::bindings::io::streams

Trait Host

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

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Implementors§

Source§

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