Skip to main content

HostNetwork

Trait HostNetwork 

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

Required Methods§

Source

fn drop( &mut self, rep: Resource<Network>, ) -> impl Future<Output = Result<()>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§