Struct mysql::error::MySqlError [−][src]
Fields
state: String
message: String
code: u16
Trait Implementations
impl<'a> From<ErrPacket<'a>> for MySqlError
[src]
impl<'a> From<ErrPacket<'a>> for MySqlError
fn from(x: ErrPacket<'a>) -> MySqlError
[src]
fn from(x: ErrPacket<'a>) -> MySqlError
Performs the conversion.
impl Eq for MySqlError
[src]
impl Eq for MySqlError
impl PartialEq for MySqlError
[src]
impl PartialEq for MySqlError
fn eq(&self, other: &MySqlError) -> bool
[src]
fn eq(&self, other: &MySqlError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MySqlError) -> bool
[src]
fn ne(&self, other: &MySqlError) -> bool
This method tests for !=
.
impl Clone for MySqlError
[src]
impl Clone for MySqlError
fn clone(&self) -> MySqlError
[src]
fn clone(&self) -> MySqlError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for MySqlError
[src]
impl Display for MySqlError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for MySqlError
[src]
impl Debug for MySqlError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for MySqlError
[src]
impl Error for MySqlError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<MySqlError> for Error
[src]
impl From<MySqlError> for Error
fn from(x: MySqlError) -> Error
[src]
fn from(x: MySqlError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for MySqlError
impl Send for MySqlError
impl Sync for MySqlError
impl Sync for MySqlError