pub trait AggregationProvider<Value, Timestamp> {
// Required method
fn aggregate(
pairs: impl IntoIterator<Item = (Value, Timestamp)>
) -> Option<(Value, Timestamp)>;
}
Expand description
Defined an aggregation behavior
Required Methods§
fn aggregate( pairs: impl IntoIterator<Item = (Value, Timestamp)> ) -> Option<(Value, Timestamp)>
Object Safety§
This trait is not object safe.