pub trait HistogramProperty {
    type Type;

    // Required methods
    fn insert(&self, value: Self::Type);
    fn insert_multiple(&self, value: Self::Type, count: usize);
    fn clear(&self);
}
Expand description

Trait implemented by all histogram properties providing common operations.

Required Associated Types§

source

type Type

The type of each value added to the histogram.

Required Methods§

source

fn insert(&self, value: Self::Type)

Inserts the given value in the histogram.

source

fn insert_multiple(&self, value: Self::Type, count: usize)

Inserts the given value in the histogram count times.

source

fn clear(&self)

Clears all buckets of the histogram.

Implementors§