pub enum AlgorithmMetricValue {
Counter(u64),
Histogram(f64),
}Expand description
The value and aggregation kind of an algorithm-defined metric.
Variants§
Counter(u64)
A non-negative delta added to a cumulative counter.
Histogram(f64)
One sample recorded in a histogram.
Trait Implementations§
Source§impl Clone for AlgorithmMetricValue
impl Clone for AlgorithmMetricValue
Source§fn clone(&self) -> AlgorithmMetricValue
fn clone(&self) -> AlgorithmMetricValue
Returns a duplicate 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 AlgorithmMetricValue
impl Debug for AlgorithmMetricValue
Source§impl PartialEq for AlgorithmMetricValue
impl PartialEq for AlgorithmMetricValue
impl Copy for AlgorithmMetricValue
impl StructuralPartialEq for AlgorithmMetricValue
Auto Trait Implementations§
impl Freeze for AlgorithmMetricValue
impl RefUnwindSafe for AlgorithmMetricValue
impl Send for AlgorithmMetricValue
impl Sync for AlgorithmMetricValue
impl Unpin for AlgorithmMetricValue
impl UnsafeUnpin for AlgorithmMetricValue
impl UnwindSafe for AlgorithmMetricValue
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