pub trait EventStoreExt<StreamId, Event>: Store<StreamId, Event> + Send + Sync + Sized
where StreamId: Clone + Send + Sync, Event: Message + Clone + Send + Sync,
{ // Provided method fn with_recorded_events_tracking(self) -> Tracking<Self, StreamId, Event> { ... } }
Expand description

Extension trait that can be used to pull in supertypes implemented in this module.

Provided Methods§

source

fn with_recorded_events_tracking(self) -> Tracking<Self, StreamId, Event>

Returns a Tracking instance that decorates the original event::Store instanca this method has been called on.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, StreamId, Event> EventStoreExt<StreamId, Event> for T
where T: Store<StreamId, Event> + Send + Sync, StreamId: Clone + Send + Sync, Event: Message + Clone + Send + Sync,