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 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 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 Eq for MySqlError
[src]

impl Display for MySqlError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Debug for MySqlError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

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.