[][src]Trait riker::system::EventStore

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>; }

Associated Types

type Msg: Message

Loading content...

Required methods

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>

Loading content...

Implementors

impl<Msg: Message> EventStore for NoEventStore<Msg>[src]

type Msg = Msg

Loading content...