pub fn hydrate_checked<E>(
events: EntityEvents<E::Event, E::Snapshot>,
) -> Result<E, EntityHydrationError>where
E: EsEntity,Expand description
Rebuilds an entity from its container and checks that the entity’s own
id is the container’s. An Initialized { id } payload is user data on
every path, so nothing else ties it to the id the events are stored
under; a mismatch is corrupt state.