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.

Required Methods

Attempts to shutdown the client.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Implementations on Foreign Types

Implementors