pub trait Handler<E> { // Required methods fn is_terminated(&self) -> bool; fn ready(&mut self, e: &E); }