pub trait Details<T: NumberType>: Debug {
    // Required method
    fn value(&self) -> T;
}
Expand description

A helper trait that can be associated with information that is tracked with a histogram. For example, if histogram is tracking latencies and for debugging reasons, if we want to track size of IO along with latency, this trait makes that posssible.

Required Methods§

source

fn value(&self) -> T

Returns a value that is being traked by the histogram.

Implementations on Foreign Types§

source§

impl Details<u64> for Range<u64>

source§

fn value(&self) -> u64

Implementors§

source§

impl<T: NumberType> Details<T> for T