[][src]Struct hdrhistogram::iterators::HistogramIterator

pub struct HistogramIterator<'a, T: 'a + Counter, P: PickyIterator<T>> { /* fields omitted */ }

HistogramIterator provides a base iterator for a Histogram.

It will iterate over all discrete values until there are no more recorded values (i.e., not necessarily until all bins have been exhausted). To facilitate the development of more sophisticated iterators, a picker is also provided, which is allowed to only select some bins that should be yielded. The picker may also extend the iteration to include a suffix of empty bins.

Trait Implementations

impl<'a, T: 'a, P> Iterator for HistogramIterator<'a, T, P> where
    T: Counter,
    P: PickyIterator<T>, 
[src]

type Item = IterationValue<T>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, P> RefUnwindSafe for HistogramIterator<'a, T, P> where
    P: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, P> Send for HistogramIterator<'a, T, P> where
    P: Send,
    T: Send + Sync

impl<'a, T, P> Sync for HistogramIterator<'a, T, P> where
    P: Sync,
    T: Sync

impl<'a, T, P> Unpin for HistogramIterator<'a, T, P> where
    P: Unpin,
    T: Unpin

impl<'a, T, P> UnwindSafe for HistogramIterator<'a, T, P> where
    P: UnwindSafe,
    T: RefUnwindSafe + UnwindSafe

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.