[][src]Struct cadence::Histogram

pub struct Histogram { /* fields omitted */ }

Histograms are values whose distribution is calculated by the server.

The distribution calculated for histograms is often similar to that of timers. Histograms can be thought of as a more general (not limited to timing things) form of timers.

See the Histogrammed trait for more information.

Implementations

impl Histogram[src]

pub fn new(prefix: &str, key: &str, value: u64) -> Histogram[src]

Trait Implementations

impl Clone for Histogram[src]

impl Debug for Histogram[src]

impl Eq for Histogram[src]

impl From<String> for Histogram[src]

impl Hash for Histogram[src]

impl Metric for Histogram[src]

impl PartialEq<Histogram> for Histogram[src]

impl StructuralEq for Histogram[src]

impl StructuralPartialEq for Histogram[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.