XmlParseError
Defined in: xml.rs:24
Available on crate feature
alloconly.
pub enum XmlParseError { MissingElement(&'static str), InvalidValue { key: &'static str, value: alloc::string::String }, InvalidEpoch(alloc::string::String), InvalidElements(ElementsError),}Error type for OMM XML parsing.
Variants
Section titled “Variants”MissingElement
Section titled “MissingElement”MissingElement(&‘static str)
A required element was absent.
InvalidValue
Section titled “InvalidValue”key: &‘static str value: alloc::string::String
An element’s text could not be parsed as the expected number.
InvalidEpoch
Section titled “InvalidEpoch”InvalidEpoch(alloc::string::String)
EPOCH was not a parseable ISO-8601 UTC timestamp (calendar or
ordinal / day-of-year form).
InvalidElements
Section titled “InvalidElements”InvalidElements(ElementsError)
The parsed values are not a valid element set (e.g. non-positive mean motion or out-of-range eccentricity).