pub trait HistogramSnapshot {
// Required methods
fn count(&self) -> u64;
fn sum(&self) -> u64;
fn visit_buckets(&self, visitor: &mut dyn FnMut(u64, u64));
}Expand description
Borrowed snapshot view for fixed-bucket histograms.
pub trait HistogramSnapshot {
// Required methods
fn count(&self) -> u64;
fn sum(&self) -> u64;
fn visit_buckets(&self, visitor: &mut dyn FnMut(u64, u64));
}Borrowed snapshot view for fixed-bucket histograms.