Struct mysql::error::ErrPacket [] [src]

pub struct ErrPacket {
    pub sql_state: Vec<u8>,
    pub error_message: Vec<u8>,
    pub error_code: u16,
}

Fields

sql_state
error_message
error_code

Methods

impl ErrPacket

fn from_payload(pld: &[u8]) -> Result<ErrPacket>

Trait Implementations

impl Display for ErrPacket

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

impl Debug for ErrPacket

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

Derived Implementations

impl PartialEq for ErrPacket

fn eq(&self, __arg_0: &ErrPacket) -> bool

fn ne(&self, __arg_0: &ErrPacket) -> bool

impl Eq for ErrPacket

impl Clone for ErrPacket

fn clone(&self) -> ErrPacket

fn clone_from(&mut self, source: &Self)