pub enum BinlogError {
UnsupportedColumnType(String),
UnexpectedData(String),
ConnectError(String),
FmtError(Error),
ParseIntError(ParseIntError),
IoError(Error),
FromUtf8Error(FromUtf8Error),
ParseUrlError(ParseError),
OpenSslError(ErrorStack),
ParseJsonError(String),
}
Variants§
UnsupportedColumnType(String)
UnexpectedData(String)
ConnectError(String)
FmtError(Error)
ParseIntError(ParseIntError)
IoError(Error)
FromUtf8Error(FromUtf8Error)
ParseUrlError(ParseError)
OpenSslError(ErrorStack)
ParseJsonError(String)
Trait Implementations§
source§impl Debug for BinlogError
impl Debug for BinlogError
source§impl Display for BinlogError
impl Display for BinlogError
source§impl Error for BinlogError
impl Error for BinlogError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 BinlogError
impl From<Error> for BinlogError
source§impl From<Error> for BinlogError
impl From<Error> for BinlogError
source§impl From<ErrorStack> for BinlogError
impl From<ErrorStack> for BinlogError
source§fn from(source: ErrorStack) -> Self
fn from(source: ErrorStack) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for BinlogError
impl From<FromUtf8Error> for BinlogError
source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for BinlogError
impl From<ParseError> for BinlogError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for BinlogError
impl From<ParseIntError> for BinlogError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BinlogError
impl Send for BinlogError
impl Sync for BinlogError
impl Unpin for BinlogError
impl !UnwindSafe for BinlogError
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