common_meta::heartbeat::handler

Trait HeartbeatResponseHandlerExecutor

source
pub trait HeartbeatResponseHandlerExecutor: Send + Sync {
    // Required method
    fn handle<'life0, 'async_trait>(
        &'life0 self,
        ctx: HeartbeatResponseHandlerContext,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

Implementors§