pub trait Uuid: TestGetValue<Uuid> {
// Required methods
fn set(&self, value: Uuid);
fn generate_and_set(&self) -> Uuid;
fn test_get_num_recorded_errors(&self, error: ErrorType) -> i32;
}
Expand description
A description for the UuidMetric
type.
When changing this trait, make sure all the operations are
implemented in the related type in ../metrics/
.
Required Methods§
Sourcefn generate_and_set(&self) -> Uuid
fn generate_and_set(&self) -> Uuid
Generates a new random Uuid
and set the metric to it.