pub trait Observer<T>: Sync + Send { // Required method fn next(&self, event: &T); }
Observes an event of type T
Called when the event occurs