Struct mysql::MySqlError
[−]
[src]
pub struct MySqlError {
pub state: String,
pub message: String,
pub code: u16,
}Fields
state: String
message: String
code: u16
Trait Implementations
impl<'a> From<ErrPacket<'a>> for MySqlError[src]
fn from(x: ErrPacket<'a>) -> MySqlError[src]
Performs the conversion.
impl Eq for MySqlError[src]
impl PartialEq for MySqlError[src]
fn eq(&self, __arg_0: &MySqlError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MySqlError) -> bool[src]
This method tests for !=.
impl Clone for MySqlError[src]
fn clone(&self) -> MySqlError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for MySqlError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more