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