Enum xmltree::ParseError [] [src]

pub enum ParseError {
    MalformedXml(Error),
    CannotParse,
}

Errors that can occur parsing XML

Variants

MalformedXml

The XML is invalid

CannotParse

This library is unable to process this XML. This can occur if, for example, the XML contains processing instructions.

Trait Implementations

impl Display for ParseError
[src]

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

Formats the value using the given formatter.

impl Error for ParseError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any.

Derived Implementations

impl Debug for ParseError
[src]

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

Formats the value using the given formatter.