Struct std::io::BytesUnstable [-] [+] [src]

pub struct Bytes<R> {
    // some fields omitted
}

A bridge from implementations of Read to an Iterator of u8.

See ReadExt::bytes for more information.

Trait Implementations

impl<R: Read> Iterator for Bytes<R>

type Item = Result<u8>

fn next(&mut self) -> Option<Result<u8>>

fn size_hint(&self) -> (usize, Option<usize>)