Struct xml::ParserError [-] [+] [src]

pub struct ParserError {
    pub line: u32,
    pub col: u32,
    pub msg: &'static str,
}

The structure returned, when erroneous XML is read

Fields

line

The line number at which the error occurred

col

The column number at which the error occurred

msg

A message describing the type of the error

Trait Implementations

impl Error for ParserError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for ParserError

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

Derived Implementations

impl Clone for ParserError

fn clone(&self) -> ParserError

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

impl Debug for ParserError

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

impl PartialEq for ParserError

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

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