Enum rss::Error
[−]
[src]
pub enum Error { Utf8(Utf8Error), XmlParsing(XmlError, usize), EOF, }
Types of errors that could occur while parsing an RSS feed.
Variants
Utf8(Utf8Error)
An error occurred while converting bytes to UTF8.
XmlParsing(XmlError, usize)
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]
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]
impl From<(XmlError, usize)> for Error
[src]
impl From<Utf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.