Enum rss::Error [] [src]

pub enum Error {
    Utf8(Utf8Error),
    XmlParsing(XmlError),
    EOF,
}

An enumration containing the types of errors that could occur while parsing an RSS feed.

Variants

Utf8(Utf8Error)

An error occurred while converting bytes to UTF8"

XmlParsing(XmlError)

An XML parser error occurred.

EOF

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

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl From<XmlError> for Error
[src]

fn from(err: XmlError) -> Error

Performs the conversion.

impl From<Utf8Error> for Error
[src]

fn from(err: Utf8Error) -> Error

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

fn from(err: FromUtf8Error) -> Error

Performs the conversion.