pub enum ParseErrorKind {
NoFeedRoot,
UnknownMimeType(String),
MissingContent(&'static str),
}
Expand description
Underlying cause of the parse failure
Variants§
NoFeedRoot
Could not find the expected root element (e.g. “channel” for RSS 2, a JSON node etc.)
UnknownMimeType(String)
The content type is unsupported, and we cannot parse the value into a known representation
MissingContent(&'static str)
Required content within the source was not found e.g. the XML child text element for a “content” element
Trait Implementations§
source§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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