pub trait ConnectHandler: Send + Sync {
    fn connect<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        destination: &'life1 Destination,
        options: &'life2 Map,
        auth_client: &'life3 mut AuthClient
    ) -> Pin<Box<dyn Future<Output = Result<BoxedDistantWriterReader>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        'life3: 'async_trait,
        Self: 'async_trait
; }
Expand description

Used to connect to a destination, returning a connected reader and writer pair

Required Methods

Implementors