pub trait Handshake: Send + Sync + 'static {
    fn handshake<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        sender: &'life1 Sender<Message>,
        receiver: &'life2 Receiver<Message>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait
; }

Required Methods§

source

fn handshake<'life0, 'life1, 'life2, 'async_trait>(
    &'life0 self,
    sender: &'life1 Sender<Message>,
    receiver: &'life2 Receiver<Message>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,

Implementors§