pub enum ParseFeedError {
ParseError(ParseErrorKind),
IoError(Error),
JsonSerde(Error),
JsonUnsupportedVersion(String),
XmlReader(XmlError),
}
Expand description
An error returned when parsing a feed from a source fails
Variants§
ParseError(ParseErrorKind)
IoError(Error)
JsonSerde(Error)
JsonUnsupportedVersion(String)
XmlReader(XmlError)
Trait Implementations§
source§impl Debug for ParseFeedError
impl Debug for ParseFeedError
source§impl Display for ParseFeedError
impl Display for ParseFeedError
source§impl Error for ParseFeedError
impl Error for ParseFeedError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ParseFeedError
impl From<Error> for ParseFeedError
Auto Trait Implementations§
impl Freeze for ParseFeedError
impl !RefUnwindSafe for ParseFeedError
impl Send for ParseFeedError
impl Sync for ParseFeedError
impl Unpin for ParseFeedError
impl !UnwindSafe for ParseFeedError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more