Enum feed_rs::parser::ParseErrorKind
source · 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