Trait eventually::tracing::EventStoreExt
source · pub trait EventStoreExt<StreamId, Event>: Store<StreamId, Event> + Sized{
// Provided method
fn with_tracing(self) -> InstrumentedEventStore<Self, StreamId, Event> { ... }
}
Expand description
Extension trait for any event::Store
type to provide
instrumentation features through the tracing
crate.
Provided Methods§
sourcefn with_tracing(self) -> InstrumentedEventStore<Self, StreamId, Event>
fn with_tracing(self) -> InstrumentedEventStore<Self, StreamId, Event>
Returns an instrumented version of the event::Store
instance.
Object Safety§
This trait is not object safe.