Re-exports
pub use crate::aggregate::Aggregate;
pub use crate::aggregate::AggregateInstanceRegistry;
pub use crate::application::Application;
pub use crate::command::Command;
pub use crate::command::CommandExecutor;
pub use crate::command::CommandHandler;
pub use crate::command::CommandMetadatas;
pub use crate::command::Dispatchable;
pub use crate::command::ExecutionResult;
pub use crate::command::NoHandler;
pub use crate::error::ApplyError;
pub use crate::error::CommandExecutorError;
pub use crate::event::handler::Subscribe;
pub use crate::event::EventApplier;
pub use crate::message::EventEnvelope;
pub use crate::router::Router;
Structs
- Deals with the lifetime of a particular aggregate
- A
RecordedEvent
represents anEvent
which have been append to aStream
Traits
- Define a struct as an EventHandler