Enum metrics_util::DebugValue [−][src]
pub enum DebugValue {
Counter(u64),
Gauge(OrderedFloat<f64>),
Histogram(Vec<OrderedFloat<f64>>),
}Expand description
A point-in-time value for a metric exposing raw values.
Variants
Counter(u64)Counter.
Gauge(OrderedFloat<f64>)Gauge.
Histogram(Vec<OrderedFloat<f64>>)Histogram.
Trait Implementations
impl Debug for DebugValue[src]
impl Debug for DebugValue[src]impl Hash for DebugValue[src]
impl Hash for DebugValue[src]impl PartialEq<DebugValue> for DebugValue[src]
impl PartialEq<DebugValue> for DebugValue[src]fn eq(&self, other: &DebugValue) -> bool[src]
fn eq(&self, other: &DebugValue) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &DebugValue) -> bool[src]
fn ne(&self, other: &DebugValue) -> bool[src]This method tests for !=.
impl Eq for DebugValue[src]
impl StructuralEq for DebugValue[src]
impl StructuralPartialEq for DebugValue[src]
Auto Trait Implementations
impl RefUnwindSafe for DebugValue
impl Send for DebugValue
impl Sync for DebugValue
impl Unpin for DebugValue
impl UnwindSafe for DebugValue
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> Pointable for T[src]
impl<T> Pointable for T[src]