pub enum OpenMetricsValue {
Unknown(MetricNumber),
Gauge(MetricNumber),
Counter(CounterValue),
Histogram(HistogramValue),
StateSet(MetricNumber),
GaugeHistogram(HistogramValue),
Info,
Summary(SummaryValue),
}
Variants
Unknown(MetricNumber)
Gauge(MetricNumber)
Counter(CounterValue)
Histogram(HistogramValue)
StateSet(MetricNumber)
GaugeHistogram(HistogramValue)
Info
Summary(SummaryValue)
Trait Implementations
sourceimpl Clone for OpenMetricsValue
impl Clone for OpenMetricsValue
sourcefn clone(&self) -> OpenMetricsValue
fn clone(&self) -> OpenMetricsValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OpenMetricsValue
impl Debug for OpenMetricsValue
Auto Trait Implementations
impl RefUnwindSafe for OpenMetricsValue
impl Send for OpenMetricsValue
impl Sync for OpenMetricsValue
impl Unpin for OpenMetricsValue
impl UnwindSafe for OpenMetricsValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more