Trait wasmtime_wasi::bindings::sync::sockets::network::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,