pub enum AdjustDirection {
Up,
Down,
}Expand description
Direction of a batch-size adjustment (metric label).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AdjustDirection
impl Clone for AdjustDirection
Source§fn clone(&self) -> AdjustDirection
fn clone(&self) -> AdjustDirection
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 AdjustDirection
impl Debug for AdjustDirection
Source§impl PartialEq for AdjustDirection
impl PartialEq for AdjustDirection
Source§fn eq(&self, other: &AdjustDirection) -> bool
fn eq(&self, other: &AdjustDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AdjustDirection
impl Eq for AdjustDirection
impl StructuralPartialEq for AdjustDirection
Auto Trait Implementations§
impl Freeze for AdjustDirection
impl RefUnwindSafe for AdjustDirection
impl Send for AdjustDirection
impl Sync for AdjustDirection
impl Unpin for AdjustDirection
impl UnsafeUnpin for AdjustDirection
impl UnwindSafe for AdjustDirection
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.