pub enum HistogramMode {
NoBuckets,
Counters,
Distributions,
}Expand description
How explicit OTLP histogram buckets are reported.
Variants§
NoBuckets
Omit bucket metrics.
Counters
Report each bucket as a counter.
Distributions
Report buckets as distributions.
Trait Implementations§
Source§impl Clone for HistogramMode
impl Clone for HistogramMode
Source§fn clone(&self) -> HistogramMode
fn clone(&self) -> HistogramMode
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 HistogramMode
impl Debug for HistogramMode
Source§impl Default for HistogramMode
impl Default for HistogramMode
Source§fn default() -> HistogramMode
fn default() -> HistogramMode
Returns the “default value” for a type. Read more
Source§impl FromStr for HistogramMode
impl FromStr for HistogramMode
Source§impl PartialEq for HistogramMode
impl PartialEq for HistogramMode
Source§impl Serialize for HistogramMode
impl Serialize for HistogramMode
impl Copy for HistogramMode
impl Eq for HistogramMode
impl StructuralPartialEq for HistogramMode
Auto Trait Implementations§
impl Freeze for HistogramMode
impl RefUnwindSafe for HistogramMode
impl Send for HistogramMode
impl Sync for HistogramMode
impl Unpin for HistogramMode
impl UnwindSafe for HistogramMode
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