pub enum HistogramKind {
Int,
Float,
}Expand description
Which on-disk representation produced a histogram sample.
Integer histograms keep their observation counts as uint64/int64 and
are exposed through IntHistogramSample; float histograms use f64
throughout and are exposed through FloatHistogramSample. The two are
never mixed, because converting an integer histogram to f64 would lose
precision above 2^53 observations.
Variants§
Int
Encoded as histogram / histogramST (encodings 2 and 5).
Float
Encoded as floathistogram / floathistogramST (encodings 3 and 6).
Trait Implementations§
Source§impl Clone for HistogramKind
impl Clone for HistogramKind
impl Copy for HistogramKind
Source§impl Debug for HistogramKind
impl Debug for HistogramKind
impl Eq for HistogramKind
Source§impl PartialEq for HistogramKind
impl PartialEq for HistogramKind
impl StructuralPartialEq for HistogramKind
Auto Trait Implementations§
impl Forget for HistogramKind
impl Freeze for HistogramKind
impl Move for HistogramKind
impl RefUnwindSafe for HistogramKind
impl Send for HistogramKind
impl Sync for HistogramKind
impl Unpin for HistogramKind
impl UnsafeUnpin for HistogramKind
impl UnwindSafe for HistogramKind
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