pub trait DispatchStore<S, A: Action> {
// Required methods
fn dispatch(&mut self, action: A) -> bool;
fn state(&self) -> &S;
}Expand description
Store interface used by DispatchRuntime.
pub trait DispatchStore<S, A: Action> {
// Required methods
fn dispatch(&mut self, action: A) -> bool;
fn state(&self) -> &S;
}Store interface used by DispatchRuntime.