wasmtime_wasi::bindings::sockets::network

Trait Host

Source
pub trait Host: Send + HostNetwork {
    // Required method
    fn convert_error_code(&mut self, err: SocketError) -> Result<ErrorCode>;
}

Required Methods§

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,