TleParseError
このコンテンツはまだ日本語訳がありません。
Defined in: tle.rs:30
Available on crate feature
alloconly.
pub enum TleParseError { InsufficientLines, InvalidLine1Prefix, InvalidLine2Prefix, InvalidField { line: u8, field: &'static str, value: alloc::string::String }, InvalidElements(ElementsError),}Error type for TLE parsing failures.
Variants
Section titled “Variants”InsufficientLines
Section titled “InsufficientLines”Not enough lines in the input.
InvalidLine1Prefix
Section titled “InvalidLine1Prefix”Line 1 does not start with ‘1’.
InvalidLine2Prefix
Section titled “InvalidLine2Prefix”Line 2 does not start with ‘2’.
InvalidField
Section titled “InvalidField”line: u8 field: &‘static str value: alloc::string::String
A numeric field could not be parsed.
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).