Enum metrics_util::debugging::DebugValue
source · [−]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
sourceimpl Debug for DebugValue
impl Debug for DebugValue
sourceimpl Hash for DebugValue
impl Hash for DebugValue
sourceimpl PartialEq<DebugValue> for DebugValue
impl PartialEq<DebugValue> for DebugValue
sourcefn eq(&self, other: &DebugValue) -> bool
fn eq(&self, other: &DebugValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DebugValue) -> bool
fn ne(&self, other: &DebugValue) -> bool
This method tests for !=
.
impl Eq for DebugValue
impl StructuralEq for DebugValue
impl StructuralPartialEq for DebugValue
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.