Trait eventually::event::store::Store

source ·
pub trait Store<StreamId, Event>: Streamer<StreamId, Event> + Appender<StreamId, Event> + Send + Sync
where StreamId: Send + Sync, Event: Message + Send + Sync,
{ }
Expand description

An Event Store, used to store Domain Events in Event Streams – a stream of Domain Events – and retrieve them.

Each Event Stream is represented by a unique Stream identifier.

Implementors§

source§

impl<T, StreamId, Event> Store<StreamId, Event> for T
where T: Streamer<StreamId, Event> + Appender<StreamId, Event> + Send + Sync, StreamId: Send + Sync, Event: Message + Send + Sync,