pub trait Reconnect {
    fn disconnect(&mut self);
    fn reconnect<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Trait for clients that can be disconnected and reconnected.

Required methods

Implementors