Trait relay_utils::metrics::Metric
source · pub trait Metric: Clone + Send + Sync + 'static {
// Required method
fn register(&self, registry: &Registry) -> Result<(), PrometheusError>;
}
Expand description
Metric API.
Required Methods§
Object Safety§
This trait is not object safe.