pub enum BinlogParseError {
EventParseError(EventParseError),
BadMagic([u8; 4]),
BadFirstRecord,
OpenError(Error),
Io(Error),
}
Variants§
Trait Implementations§
Source§impl Debug for BinlogParseError
impl Debug for BinlogParseError
Source§impl Display for BinlogParseError
impl Display for BinlogParseError
Source§impl Error for BinlogParseError
impl Error for BinlogParseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for BinlogParseError
impl From<Error> for BinlogParseError
Source§impl From<EventParseError> for BinlogParseError
impl From<EventParseError> for BinlogParseError
Source§fn from(source: EventParseError) -> Self
fn from(source: EventParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BinlogParseError
impl !RefUnwindSafe for BinlogParseError
impl Send for BinlogParseError
impl Sync for BinlogParseError
impl Unpin for BinlogParseError
impl !UnwindSafe for BinlogParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more