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