Struct mysql::error::MySqlError
[−]
[src]
pub struct MySqlError { pub state: String, pub message: String, pub code: u16, }
Fields
state: String
message: String
code: u16
Trait Implementations
impl Eq for MySqlError
[src]
impl PartialEq for MySqlError
[src]
fn eq(&self, __arg_0: &MySqlError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MySqlError) -> bool
This method tests for !=
.
impl Clone for MySqlError
[src]
fn clone(&self) -> MySqlError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for MySqlError
[src]
impl Debug for MySqlError
[src]
impl Error for MySqlError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl From<ErrPacket> for MySqlError
[src]
fn from(x: ErrPacket) -> MySqlError
Performs the conversion.