Trait glean_core::traits::MemoryDistribution
source · pub trait MemoryDistribution: TestGetValue<Output = DistributionData> {
// Required methods
fn accumulate(&self, sample: u64);
fn test_get_num_recorded_errors(&self, error: ErrorType) -> i32;
}Expand description
A description for the
MemoryDistributionMetric type.
When changing this trait, make sure all the operations are
implemented in the related type in ../metrics/.