wasmtime_wasi::bindings::sockets::network

Trait HostNetwork

Source
pub trait HostNetwork: Send {
    // 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,