[−][src]Crate actor_es
Re-exports
pub use riker_es_macros as macros; |
Structs
Commit | Commit represents a unique inmutable change to the system made by someone at a specific time |
Entity | Entity is an actor that handles user commands running the buissiness logic defined in the handler callback and "commit" changes of the model to the configured event store. Will also use the store to query a stored entity data applying any change that has been recorded up to the specified moment in time. |
EntityId | Uniquely idenfies an entity |
Manager | |
MemStore | |
Store | An actor that handles the persistance of changes of an entity using "commits" to track who made the change and why. |
TimeTraveler | A wrapper for a stored entity that applies changes until the specified moment in time. |
Enums
CQRS | |
CommitError | |
Event | Events are changes to the system generated by entities after processing other events or external commands |
Query | |
StoreMsg |
Traits
CommitStore | |
ES | Implement this trait to allow your entity handle external commands |
EntityName | |
Model | An Aggregate is the projected data of a series of events of an entity, given an initial state update events are applied to it until it reaches the desired state. |
Type Definitions
CommitResult | |
EventBus | |
Result | |
StoreRef |