[−][src]Function mysql_binlog::parse_reader
pub fn parse_reader<R: Read + Seek + 'static>(
r: R
) -> Result<EventIterator<R>, BinlogParseError>
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