pub trait HistogramFn {
// Required method
fn record(&self, value: f64);
// Provided method
fn record_many(&self, value: f64, count: usize) { ... }
}
Available on crate feature
component
only.Expand description
A histogram handler.
Required Methods§
Provided Methods§
Sourcefn record_many(&self, value: f64, count: usize)
fn record_many(&self, value: f64, count: usize)
Records a value into the histogram multiple times.