pub trait Aggregation {
    // Required method
    fn kind(&self) -> &AggregationKind;
}
Available on crate feature metrics only.
Expand description

An interface returned by an Aggregator containing an interval of metric data.

Required Methods§

source

fn kind(&self) -> &AggregationKind

A short identifying string to identify the Aggregator that was used to produce the aggregation (e.g., AggregationKind::SUM).

Implementors§