Enum prometrics::metric::Metric
[−]
[src]
pub enum Metric { Counter(Counter), Gauge(Gauge), Summary(Summary), Histogram(Histogram), }
Variants
Counter(Counter)
Gauge(Gauge)
Summary(Summary)
Histogram(Histogram)
Methods
impl Metric
[src]
fn name(&self) -> &MetricName
[src]
Returns the name of this metric.
fn kind(&self) -> MetricKind
[src]
Returns tye kind of this metric.
Trait Implementations
impl Debug for Metric
[src]
impl Clone for Metric
[src]
fn clone(&self) -> Metric
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more