Skip to main content

op_of_state

Function op_of_state 

Source
pub(crate) fn op_of_state(kind: AggregateStateKind) -> AggregateOp
Expand description

The aggregate a state kind is the state of.

A histogram kind is the state of the same aggregate over a histogram input, so it merges with the same rules; what differs is the payload, which the merge reads from the kind itself.