pub trait Store<T> { // Required methods fn store(&mut self, msg: T); fn take(&mut self) -> Option<T>; }