Handshake

Trait Handshake 

Source
pub trait Handshake {
    // Required method
    fn perform<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<Authenticated>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

Source

fn perform<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<Authenticated>> + Send + 'async_trait>>
where Self: 'async_trait,

Perform the handshake.

On a successful handshake, you get an Authenticated. If you need to send a Bus Hello, this remains to be done.

Implementors§