Trait RawEventHandler

Source
pub trait RawEventHandler: Send + Sync {
    // Provided method
    fn raw_event<'life0, 'async_trait>(
        &'life0 self,
        _ctx: Context,
        _ev: Event,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

This core trait for handling raw events

Provided Methods§

Source

fn raw_event<'life0, 'async_trait>( &'life0 self, _ctx: Context, _ev: Event, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dispatched when any event occurs

Implementors§