Module store

Module store 

Source
Expand description

Contains the Event Store trait for storing and streaming Aggregate Events.

Modules§

persistent
Contains a type-state builder for PersistentEvent type.

Structs§

Persisted
An Event wrapper for events that have been successfully committed to the EventStore.

Enums§

Expected
Specifies the optimistic locking level when performing append from an EventStore.
Select
Selection operation for the events to capture in an EventStream.

Traits§

AppendError
Error type returned by append in EventStore implementations.
EventStore
An Event Store is an append-only, ordered list of Events for a certain “source” – e.g. an Aggregate.

Type Aliases§

EventStream
Stream type returned by the EventStore::stream method.