pub trait ContextState<T> { // Required methods fn get(&self) -> &T; fn get_mut(&mut self) -> &mut T; }