Function time

Source
pub fn time<I, T>(it: I) -> Time<I, T>
where I: Sized + StreamingIterator<Item = T>, T: Sized + Clone,
Expand description

Wrap each value of a streaming iterator with the durations:

  • between the call to this function and start of the value’s computation
  • it took to calculate that value