Enum quick_xml::error::Error [] [src]

pub enum Error {
    Io(Error),
    EOL,
    Utf8(Utf8Error),
    Malformed(String),
    Unexpected(String),
}

An error produced by an operation on Xml data.

Variants

Io

An error originating from reading or writing to the underlying buffer.

EOL

An error originating from finding end of line instead of a column.

Utf8

An error while converting to utf8

Malformed

Xml is malformed

Unexpected

Unexpected

Trait Implementations

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[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.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Utf8Error> for Error
[src]

fn from(err: Utf8Error) -> Error

Performs the conversion.

Derived Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.