Enum rss::Error [] [src]

pub enum Error {
    Utf8(Utf8Error),
    Xml(XmlError),
    InvalidStartTag,
    Eof,
}

Errors that occur during parsing.

Variants

An error while converting bytes to UTF8.

An XML parsing error.

The input didn't begin with an opening <rss> tag.

The end of the input was reached without finding a complete channel element.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<XmlError> for Error
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

[src]

Performs the conversion.