pub trait StatisticExt: Statistic {
// Provided method
fn get_aggregation_and_reset(&mut self) -> Option<Self::Aggregation> { ... }
}Expand description
Extension methods for Statistics.
Provided Methods§
Sourcefn get_aggregation_and_reset(&mut self) -> Option<Self::Aggregation>
fn get_aggregation_and_reset(&mut self) -> Option<Self::Aggregation>
Gets the statistical aggregation and resets the statistic.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".