pub trait TEventBus<E>where E: ApplicationError + From<BaseError> + From<E>, BaseError: From<E>,{ // Required method fn event_handler(&self) -> &'static HashMap<String, EventHandlers<E>>; }