[−][src]Trait ca_formats::Input
Types that can be passed to parsers as input.
The trait is implemented for &str and BufReader.
When parsing a file, you can take a BufReader<File> as input.
Types that can be passed to parsers as input.
The trait is implemented for &str and BufReader.
When parsing a file, you can take a BufReader<File> as input.
fn lines(self) -> Self::Linesfn line(item: <Self::Lines as Iterator>::Item) -> Result<Self::Line, Error>fn bytes(line: Self::Line) -> Self::Bytesimpl<'a> Input for &'a str[src]type Lines = Lines<'a>type Line = &'a strtype Bytes = Bytes<'a>fn lines(self) -> Self::Lines[src]fn line(item: <Self::Lines as Iterator>::Item) -> Result<Self::Line, Error>[src]fn bytes(line: Self::Line) -> Self::Bytes[src]impl<R: Read> Input for BufReader<R>[src]type Lines = IoLines<BufReader<R>>type Line = Stringtype Bytes = IntoIter<u8>fn lines(self) -> Self::Lines[src]fn line(item: <Self::Lines as Iterator>::Item) -> Result<Self::Line, Error>[src]fn bytes(line: Self::Line) -> Self::Bytes[src]