pub enum PrometheusType {
Counter,
Gauge,
Histogram,
Summary,
Unknown,
}
Variants§
Trait Implementations§
source§impl Clone for PrometheusType
impl Clone for PrometheusType
source§fn clone(&self) -> PrometheusType
fn clone(&self) -> PrometheusType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PrometheusType
impl Debug for PrometheusType
source§impl Default for PrometheusType
impl Default for PrometheusType
source§impl Display for PrometheusType
impl Display for PrometheusType
source§impl PartialEq for PrometheusType
impl PartialEq for PrometheusType
source§fn eq(&self, other: &PrometheusType) -> bool
fn eq(&self, other: &PrometheusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for PrometheusType
impl TryFrom<&str> for PrometheusType
impl StructuralPartialEq for PrometheusType
Auto Trait Implementations§
impl RefUnwindSafe for PrometheusType
impl Send for PrometheusType
impl Sync for PrometheusType
impl Unpin for PrometheusType
impl UnwindSafe for PrometheusType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more