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