Trait akka_persistence_rs::entity_manager::EntityOps
source · pub trait EntityOps<B>where
B: EventSourcedBehavior,{
// Required methods
fn get(&mut self, entity_id: &EntityId) -> Option<&B::State>;
fn update(&mut self, envelope: EventEnvelope<B::Event>) -> u64;
}
Expand description
An internal structure for the purposes of operating on the cache of entities.