Trait distant_net::client::Shutdown
source · pub trait Shutdown: DynClone + Send + Sync {
fn shutdown<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Interface representing functionality to shut down an active client.