pub enum AdjustReason {
Success,
Error,
Latency,
}Expand description
Why an adjustment happened (metric label).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AdjustReason
impl Clone for AdjustReason
Source§fn clone(&self) -> AdjustReason
fn clone(&self) -> AdjustReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdjustReason
impl Debug for AdjustReason
Source§impl PartialEq for AdjustReason
impl PartialEq for AdjustReason
Source§fn eq(&self, other: &AdjustReason) -> bool
fn eq(&self, other: &AdjustReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AdjustReason
impl Eq for AdjustReason
impl StructuralPartialEq for AdjustReason
Auto Trait Implementations§
impl Freeze for AdjustReason
impl RefUnwindSafe for AdjustReason
impl Send for AdjustReason
impl Sync for AdjustReason
impl Unpin for AdjustReason
impl UnsafeUnpin for AdjustReason
impl UnwindSafe for AdjustReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.