Trait glean_core::traits::Numerator
source · pub trait Numerator: TestGetValue<Output = Rate> {
// Required methods
fn add_to_numerator(&self, amount: i32);
fn test_get_num_recorded_errors(&self, error: ErrorType) -> i32;
}
Expand description
A description for the NumeratorMetric
subtype of the RateMetric
type.