Enum prometheus::proto::MetricType[][src]

pub enum MetricType {
    COUNTER,
    GAUGE,
    SUMMARY,
    UNTYPED,
    HISTOGRAM,
}

Variants

COUNTER
GAUGE
SUMMARY
UNTYPED
HISTOGRAM

Trait Implementations

impl Clone for MetricType[src]

impl Copy for MetricType[src]

impl Debug for MetricType[src]

impl Eq for MetricType[src]

impl Hash for MetricType[src]

impl PartialEq<MetricType> for MetricType[src]

impl ProtobufEnum for MetricType[src]

impl ProtobufValue for MetricType[src]

impl StructuralEq for MetricType[src]

impl StructuralPartialEq for MetricType[src]

Auto Trait Implementations

impl RefUnwindSafe for MetricType

impl Send for MetricType

impl Sync for MetricType

impl Unpin for MetricType

impl UnwindSafe for MetricType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.