Trait cqrs_es2::AggregateContext[][src]

pub trait AggregateContext<A> where
    A: Aggregate
{ fn aggregate(&self) -> &A; }
Expand description

Returns the aggregate and context around it that is needed when committing events

Required methods

The aggregate instance with all state loaded.

Implementors