Enum usiem::components::metrics::SiemMetric[][src]

pub enum SiemMetric {
    Counter(u64),
    Gauge(f64),
    Histogram(HistogramMetric),
    Summary(SummaryMetric),
}

Variants

Counter(u64)

Tuple Fields of Counter

0: u64
Gauge(f64)

Tuple Fields of Gauge

0: f64
Histogram(HistogramMetric)

Tuple Fields of Histogram

0: HistogramMetric
Summary(SummaryMetric)

Tuple Fields of Summary

0: SummaryMetric

Trait Implementations

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.