Trait wasmtime_wasi::bindings::sockets::instance_network::Host

source ·
pub trait Host: Send {
    // Required method
    fn instance_network(&mut self) -> Result<Resource<Network>>;
}

Required Methods§

source

fn instance_network(&mut self) -> Result<Resource<Network>>

Get a handle to the default network.

Implementations on Foreign Types§

source§

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

source§

fn instance_network(&mut self) -> Result<Resource<Network>>

Get a handle to the default network.

Implementors§

source§

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