pub fn register<T: Clone + Collector + 'static>( metric: T, registry: &Registry, ) -> Result<T, PrometheusError>