pub trait AggregationSelector: Send + Sync {
    // Required method
    fn aggregation(&self, kind: InstrumentKind) -> Aggregation;
}
Expand description

An interface for selecting the aggregation and the parameters for an InstrumentKind.

Required Methods§

source

fn aggregation(&self, kind: InstrumentKind) -> Aggregation

Selects the aggregation and the parameters to use for that aggregation based on the InstrumentKind.

Implementors§