Trait Event

Source
pub trait Event<E> {
    // Required method
    fn handle(
        self: Box<Self>,
        context: Context<E>,
    ) -> Box<dyn Future<Item = Context<E>, Error = E>>;
}

Required Methods§

Source

fn handle( self: Box<Self>, context: Context<E>, ) -> Box<dyn Future<Item = Context<E>, Error = E>>

Implementors§