Enum feed_rs::parser::ParseErrorKind[][src]

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

Tuple Fields of UnknownMimeType

0: String
MissingContent(&'static str)

Required content within the source was not found e.g. the XML child text element for a “content” element

Tuple Fields of MissingContent

0: &'static str

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.