Enum atom_syndication::Error [−][src]
#[non_exhaustive]
pub enum Error {
Xml(XmlError),
Utf8(Utf8Error),
InvalidStartTag,
Eof,
WrongDatetime(String),
WrongAttribute {
attribute: &'static str,
value: String,
},
}Expand description
An error that occurred while performing an Atom operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Xml(XmlError)Unable to parse XML.
Utf8(Utf8Error)Unable to parse UTF8 in to a string.
Input did not begin with an opening feed tag.
Unexpected end of input.
WrongDatetime(String)The format of the timestamp is wrong.
The value of an attribute is wrong.
Show fields
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Errorimpl !UnwindSafe for Error