Enum prometheus_client::metrics::MetricType
source · [−]pub enum MetricType {
Counter,
Gauge,
Histogram,
Info,
Unknown,
}
Variants
Counter
Gauge
Histogram
Info
Unknown
Trait Implementations
sourceimpl Clone for MetricType
impl Clone for MetricType
sourcefn clone(&self) -> MetricType
fn clone(&self) -> MetricType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MetricType
impl Debug for MetricType
impl Copy for MetricType
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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