Trait respo::RespoStore
source · pub trait RespoStore {
type Action: Debug + Clone + RespoAction;
fn get_states(&self) -> StatesTree;
fn update(&mut self, op: Self::Action) -> Result<(), String>;
}
Expand description
it has a states tree inside, and it does update itself