Trait glean_core::traits::Quantity
source · pub trait Quantity: TestGetValue<i64> {
// Required methods
fn set(&self, value: i64);
fn test_get_num_recorded_errors(&self, error: ErrorType) -> i32;
}
Expand description
A description for the QuantityMetric
type.
When changing this trait, make sure all the operations are
implemented in the related type in ../metrics/
.