Enum prometheus::proto::MetricType [−][src]
pub enum MetricType {
COUNTER,
GAUGE,
SUMMARY,
UNTYPED,
HISTOGRAM,
}
Variants
Trait Implementations
Try to create an enum from i32
value.
Return None
if value is unknown. Read more
Get all enum values for enum type.
Get enum descriptor by type.
Get enum value descriptor.
Get enum descriptor.
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
Mutably borrows from an owned value. Read more