Struct krill::commons::eventsourcing::EventCounter
source · pub struct EventCounter { /* private fields */ }
Expand description
Example listener that simply counts all events
Implementations§
Trait Implementations§
source§impl Default for EventCounter
impl Default for EventCounter
source§impl<A: Aggregate> PostSaveEventListener<A> for EventCounter
impl<A: Aggregate> PostSaveEventListener<A> for EventCounter
Auto Trait Implementations§
impl RefUnwindSafe for EventCounter
impl Send for EventCounter
impl Sync for EventCounter
impl Unpin for EventCounter
impl UnwindSafe for EventCounter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more