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: u32
The line number at which the error occurred
col: u32
The column number at which the error occurred
msg: &'static str
A message describing the type of the error
Trait Implementations
impl PartialEq for ParserError[src]
fn eq(&self, __arg_0: &ParserError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ParserError) -> bool
This method tests for !=.
impl Debug for ParserError[src]
impl Clone for ParserError[src]
fn clone(&self) -> ParserError
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 Error for ParserError[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