Struct mysql_async::error::ServerError
source · Expand description
This type represents MySql server error.
Fields§
§code: u16
§message: String
§state: String
Trait Implementations§
source§impl Debug for ServerError
impl Debug for ServerError
source§impl Display for ServerError
impl Display for ServerError
source§impl Fail for ServerError
impl Fail for ServerError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresource§impl From<ErrPacket<'_>> for ServerError
impl From<ErrPacket<'_>> for ServerError
source§impl From<ServerError> for Error
impl From<ServerError> for Error
source§fn from(err: ServerError) -> Self
fn from(err: ServerError) -> Self
Converts to this type from the input type.