コンテンツにスキップ

TleParseError

このコンテンツはまだ日本語訳がありません。

Defined in: tle.rs:30

Available on crate feature alloc only.

pub enum TleParseError {
InsufficientLines,
InvalidLine1Prefix,
InvalidLine2Prefix,
InvalidField { line: u8, field: &'static str, value: alloc::string::String },
InvalidElements(ElementsError),
}

Error type for TLE parsing failures.

Not enough lines in the input.


Line 1 does not start with ‘1’.


Line 2 does not start with ‘2’.


line: u8 field: &‘static str value: alloc::string::String

A numeric field could not be parsed.


InvalidElements(ElementsError)

The parsed values are not a valid element set (e.g. non-positive mean motion or out-of-range eccentricity).