Re-exports§
pub use serde;pub use serde_json;pub use tokio;pub use tracing;
Modules§
Macros§
- init_
event_ handler - This macro is used to create event handler for each event.
- register_
uow_ services
Structs§
- Command
Handler - Command
Response With Event Futures - Context
- Local context it lasts only until logical unit of operation is done
- Context
Manager - Request Context Manager it lives as long as the request lives
- Event
Metadata - Handler
Mapper - A hash map implemented with quadratic probing and SIMD lookup.
- Message
Bus - OutBox
- Snow
Flake
Enums§
Traits§
- Application
Error - Application
Response - Async
Func - Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.
- TAggregate
- TCommand
- TCommand
Service - Interface for messagebus to work on
- TConnection
- TEvent
- TEvent
Bus - TGet
Handler - TMessage
Bus - TSet
Current Events - TUnit
OfWork - Template for Unit of Work
Concrete implementation must implement
_commitmethod If you want to add hooks on events, you can implementprocess_internal_eventsandprocess_external_events - TUnit
OfWork Command Handler
Type Aliases§
- Atomic
Context Manager - Future
- Future
Result - Handlers
- TEvent
Handler - Event handlers
TEventBuswork on