pub trait TypedMetric {
const TYPE: MetricType = MetricType::Unknown;
}
Expand description
A metric that is aware of its Open Metrics metric type.
Provided Associated Constants§
Sourceconst TYPE: MetricType = MetricType::Unknown
const TYPE: MetricType = MetricType::Unknown
The OpenMetrics metric type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.