Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Aggregate
✓ use cqrs_es::Aggregate;
Defines a minimal aggregate using the CQRS-ES framework.
use cqrs_es::Aggregate;
struct MyAggregate;
impl Aggregate for MyAggregate {
type Command = ();
type Event = ();
type Error = ();
type Services = ();
fn aggregate_type() -> String { "my_aggregate".to_string() }
fn handle(&self, _command: Self::Command, _services: &Self::Services) -> Result<Vec<Self::Event>, Self::Error> { Ok(vec![]) }
fn apply(&mut self, _event: Self::Event) {}
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.