pub trait EventHandler: Send + Sync { // Required method fn handle(&self, event: Event); }
Event handler trait
Handle an event