Function parse_reader

Source
pub fn parse_reader<R: Read + Seek + 'static>(
    r: R,
) -> Result<EventIterator<R>, BinlogParseError>
Expand description

Parse events from an object implementing the std::io::Read trait

ยงErrors

  • returns an immediate error if the Read does not begin with a valid Format Descriptor Event
  • each call to the iterator can return an error if there is an I/O or parsing error