Expand description
The ports a domain depends on: repository, event dispatch, clock, and id generation.
Modules§
- clock
- A source of the current time.
- event
- Publishing recorded
crate::domain::DomainEvents. - id
- Generating
crate::domain::EntityIds. - repository
- Loading, saving, and deleting
crate::domain::AggregateRoots.
Structs§
- Port
Error - An error from a port implementation (repository, event dispatcher,
etc.), tagged with a
PortErrorKindand wrapping the underlying cause.
Enums§
- Port
Error Kind - The general category of a
PortError, so callers can react (e.g. retry) without inspecting the underlying error.