Enum rss::Error
[−]
[src]
pub enum Error { Utf8(Utf8Error), Xml(XmlError), InvalidStartTag, Eof, }
Errors that occur during parsing.
Variants
Utf8(Utf8Error)
An error while converting bytes to UTF8.
Xml(XmlError)
An XML parsing error.
InvalidStartTag
The input didn't begin with an opening <rss>
tag.
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
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more