pub fn iter<I>(i: I) -> Iter<I::IntoIter>
Expand description
Converts an Iterator
into a BufStream
which is always ready to yield the
next value.
Iterators in Rust don’t express the ability to block, so this adapter
simply always calls iter.next()
and returns that.