Trait Handler

Source
pub trait Handler<E>
where E: RawEvent,
{ type Ctx: RawContext; // Required method fn handle(&self, ctx: &mut Self::Ctx, event: &E) -> Result<(), Error>; }

Required Associated Types§

Required Methods§

Source

fn handle(&self, ctx: &mut Self::Ctx, event: &E) -> Result<(), Error>

Implementors§