pub trait EventListener<T>where T: Sync + Send,{ // Provided method fn dispatch(&self, _event: &T) { ... } }