Skip to main content

HeartbeatConnector

Trait HeartbeatConnector 

Source
trait HeartbeatConnector: Send + Sync {
    // Required method
    fn connect<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<HeartbeatConnection>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn connect<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<HeartbeatConnection>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§