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