Trait OpsStatsEventObserver

Source
pub trait OpsStatsEventObserver:
    Send
    + Sync
    + 'static {
    // Required method
    fn handle_event<'life0, 'async_trait>(
        &'life0 self,
        event: OpsStatsEvent,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn handle_event<'life0, 'async_trait>( &'life0 self, event: OpsStatsEvent, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§