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(Error)

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(Utf8Error)

An error while converting to utf8

Malformed(String)

Xml is malformed

Unexpected(String)

Unexpected

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

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. Read more

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.