pub fn remove<T>(&self, id: T) -> Option<Metric>
    where
        T: Into<MetricId>,
    {
        Arc::make_mut(&mut self.metrics.lock()).remove(&id.into())
    }
/// Removes a metric from the registry, returning it if present.
Removes a metric from the registry, returning it if present.
Removes a metric from the registry returning it if present .
pub fn remove<T>(&self, id: T) -> Option<Metric>
    where
        T: Into<MetricId>,
    {
        Arc::make_mut(&mut self.metrics.lock()).remove(&id.into())
    }
pub fn remove < T > ( & self , id : T ) -> Option < Metric > where T : Into < MetricId > , { Arc :: make_mut ( & mut self . metrics . lock ( ) ) . remove ( & id . into ( ) ) }
Removes a metric from the registry, returning it if present.
Removes a metric from the registry returning it if present .
&self
id
T
&self
id
T