Expand description
Convenient re-exports.
Re-exports§
pub use crate::cqrs::CqrsHandles;pub use crate::cqrs::CqrsPattern;pub use crate::cqrs::ProjectionHandle;pub use crate::cqrs::Reader;pub use crate::ddd::AggregateRoot;pub use crate::ddd::Command;pub use crate::ddd::DomainEvent;pub use crate::ddd::Entity;pub use crate::ddd::Repository;pub use crate::ddd::ValueObject;pub use crate::saga::Saga;pub use crate::saga::SagaAction;pub use crate::saga::SagaPattern;pub use crate::topology::Topology;pub use crate::PatternError;
Structs§
- Async
Snapshotter - Helper that wraps a
SnapshotStorewith a retention policy. - Event
Envelope - InMemory
Journal - InMemory
Snapshot Store - Recovery
Permitter - Bounded in-flight recovery counter.
Enums§
- Eventsourced
Error - Recovery / handler errors that propagate out of
Eventsourced. - Offset
- Typed read-journal offset. The in-memory backend uses
Sequencenumbers; a SQL backend might emitTimeBasedUUIDs.NoOffsetmeans “from the start.” - Snapshot
Policy - Snapshot retention / cadence policy.
Traits§
- Eventsourced
- Modern event-sourced actor.
- Journal
- Read
Journal - Read-journal surface.
current_*variants take a snapshot at call time; the non-current variants are tail-following (live) — backends that only support snapshots return the snapshot and let callers re-poll. - Snapshot
Store