pub trait Host: Send + 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,