pub enum MessageType {
Oem(Oem),
Cdm(Cdm),
Opm(Opm),
Omm(Omm),
Rdm(Rdm),
Tdm(Tdm),
Ocm(Ocm),
Acm(Acm),
Aem(Aem),
Apm(Apm),
Ndm(CombinedNdm),
}Expand description
A generic container for any parsed NDM message.
This enum wraps all supported CCSDS message types, allowing uniform handling of messages when the type is not known at compile time.
§Example
use ccsds_ndm::{from_str, MessageType};
let ndm = from_str("CCSDS_OPM_VERS = 3.0\n...").unwrap();
match ndm {
MessageType::Opm(opm) => println!("Got OPM"),
MessageType::Oem(oem) => println!("Got OEM"),
_ => println!("Other message type"),
}Variants§
Oem(Oem)
Orbit Ephemeris Message - orbit state time series with optional covariance.
Cdm(Cdm)
Conjunction Data Message - collision assessment data between two objects.
Opm(Opm)
Orbit Parameter Message - single state vector and orbital parameters.
Omm(Omm)
Orbit Mean-Elements Message - mean orbital elements (e.g., TLE-like).
Rdm(Rdm)
Reentry Data Message - reentry prediction information.
Tdm(Tdm)
Tracking Data Message - ground station tracking measurements.
Ocm(Ocm)
Orbit Comprehensive Message - detailed orbit data with maneuvers.
Acm(Acm)
Attitude Comprehensive Message - detailed attitude data with maneuvers.
Aem(Aem)
Attitude Ephemeris Message - attitude state time series.
Apm(Apm)
Attitude Parameter Message - attitude state and parameter data.
Ndm(CombinedNdm)
Combined Instantiation NDM - container for multiple messages.
Implementations§
Source§impl MessageType
impl MessageType
Trait Implementations§
Source§impl Clone for MessageType
impl Clone for MessageType
Source§fn clone(&self) -> MessageType
fn clone(&self) -> MessageType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more