pub trait Host {
// Required method
fn drop_network<'life0, 'async_trait>(
&'life0 mut self,
this: Network
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
sourcefn drop_network<'life0, 'async_trait>(
&'life0 mut self,
this: Network
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn drop_network<'life0, 'async_trait>( &'life0 mut self, this: Network ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Dispose of the specified network
, after which it may no longer be used.
Note: this function is scheduled to be removed when Resources are natively supported in Wit.