wasmtime_wasi::bindings::sync::sockets::network

Trait HostNetwork

Source
pub trait HostNetwork {
    // Required method
    fn drop(&mut self, rep: Resource<Network>) -> Result<()>;
}

Required Methods§

Source

fn drop(&mut self, rep: Resource<Network>) -> Result<()>

Implementations on Foreign Types§

Source§

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

Source§

fn drop(&mut self, rep: Resource<Network>) -> Result<()>

Implementors§

Source§

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