fn state_payload(
fields: &StateFieldsBatch,
histogram: bool,
field: usize,
position: usize,
) -> Result<StatePayload>Expand description
Reads one present position’s state as the payload family its kind keeps.
A histogram payload is checked against the compensation invariant as it is built, so a state whose compensation disagrees with its live value cannot be handed to a merge that would index the compensation by the value’s bucket positions.