pub fn meter<T>(&self, id: T) -> Arc<Meter>
    where
        T: Into<MetricId>,
    {
        self.meter_with(id, || Meter::new_with(self.clock.clone()))
    }
/// Returns the meter with the specified ID, creating a default instance if absent.
///
/// # Panics
///
/// Panics if a metric is registered with the ID that is not a meter.
Returns the meter with the specified ID, creating a default instance if absent.
Returns the meter with the specified ID creating a default instance if absent .
pub fn meter<T>(&self, id: T) -> Arc<Meter>
    where
        T: Into<MetricId>,
    {
        self.meter_with(id, || Meter::new_with(self.clock.clone()))
    }
pub fn meter < T > ( & self , id : T ) -> Arc < Meter > where T : Into < MetricId > , { self . meter_with ( id , | | Meter :: new_with ( self . clock . clone ( ) ) ) }
Returns the meter with the specified ID, creating a default instance if absent.
Returns the meter with the specified ID creating a default instance if absent .
&self
id
T
&self
id
T
panics
Panics if a metric is registered with the ID that is not a meter.
Panics if a metric is registered with the ID that is not a meter .