Trait EventStore
riker::system
pub trait EventStore: Clone + Send + Sync + 'static { type Msg: Message; fn new(config: &Config) -> Self; fn insert(&mut self, id: &String, keyspace: &String, evt: Evt<Self::Msg>); fn load(&self, id: &String, keyspace: &String) -> Vec<Self::Msg>; }
type Msg: Message
fn new(config: &Config) -> Self
fn insert(&mut self, id: &String, keyspace: &String, evt: Evt<Self::Msg>)
fn load(&self, id: &String, keyspace: &String) -> Vec<Self::Msg>
impl<Msg: Message> EventStore for NoEventStore<Msg>
type Msg = Msg
fn new(_config: &Config) -> Self
fn insert(&mut self, _: &String, _: &String, _: Evt<Msg>)
fn load(&self, _: &String, _: &String) -> Vec<Msg>