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§impl TryFrom<&str> for PrometheusType
impl TryFrom<&str> for PrometheusType
impl StructuralPartialEq for PrometheusType
Auto Trait Implementations§
impl Freeze for PrometheusType
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