1/// A trait for accessing state values
2pub trait ContextState {
3/// Get a reference to a state value
4fn get<T>(&self) -> Option<&T>
5where
6T: Send + Sync + 'static;
78/// Set a state value
9fn set<T>(&self, value: T) -> bool
10where
11T: Send + Sync + 'static;
12}