Trait wasmtime_wasi::preview2::bindings::wasi::sockets::instance_network::Host
source · pub trait Host {
// Required method
fn instance_network(&mut self) -> Result<Resource<Network>>;
}
Required Methods§
sourcefn instance_network(&mut self) -> Result<Resource<Network>>
fn instance_network(&mut self) -> Result<Resource<Network>>
Get a handle to the default network.