pub fn iter<I>(i: I) -> Iter<I::IntoIter> where
I: IntoIterator,
I::Item: Buf,
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.