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

pub struct Lines<B> {
    // some fields omitted
}

An iterator over the lines of an instance of BufRead split on a newline byte.

See BufReadExt::lines for more information.

Trait Implementations

impl<B: BufRead> Iterator for Lines<B>

type Item = Result<String>

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

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