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