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