Trait bytelines::ByteLinesReader
source · pub trait ByteLinesReader<B>where
B: BufRead,{
fn byte_lines(self) -> ByteLines<B>;
fn byte_lines_iter(self) -> ByteLinesIter<B> ⓘ;
}
Expand description
Represents anything which can provide iterators of byte lines.
Required Methods§
sourcefn byte_lines(self) -> ByteLines<B>
fn byte_lines(self) -> ByteLines<B>
Returns an structure used to iterate the lines of this reader as &[u8]
.
sourcefn byte_lines_iter(self) -> ByteLinesIter<B> ⓘ
fn byte_lines_iter(self) -> ByteLinesIter<B> ⓘ
Returns an iterator over the lines of this reader as Vec<u8>
.
Implementors§
impl<B> ByteLinesReader<B> for Bwhere
B: BufRead,
Blanket implementation for all BufRead
.