#[non_exhaustive]pub enum HistogramScale {
Linear,
Log,
}
Available on
tokio_unstable
and crate feature rt
only.Expand description
Whether the histogram used to aggregate a metric uses a linear or logarithmic scale.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for HistogramScale
impl Clone for HistogramScale
Source§fn clone(&self) -> HistogramScale
fn clone(&self) -> HistogramScale
Returns a copy 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 HistogramScale
impl Debug for HistogramScale
Source§impl PartialEq for HistogramScale
impl PartialEq for HistogramScale
impl Copy for HistogramScale
impl Eq for HistogramScale
impl StructuralPartialEq for HistogramScale
Auto Trait Implementations§
impl Freeze for HistogramScale
impl RefUnwindSafe for HistogramScale
impl Send for HistogramScale
impl Sync for HistogramScale
impl Unpin for HistogramScale
impl UnwindSafe for HistogramScale
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