Lyricdev
GitHub

struct InspectIter

pub struct InspectIter<I :: [Iterator], E :: [Error] = never> :: [Iterator]

Conforms to Iterator, Closeable.

Yields the values of an iterator unchanged, calling f on each as it passes; made by it.inspect(f).

Methods

pub mut fn next(): ?I.Item throws Join<I.Error, E>
fn close(): void throws I.Error