Skip to main content

PidTree

Trait PidTree 

Source
pub trait PidTree:
    Debug
    + Send
    + Sync {
    // Required methods
    fn pid_id(&self) -> &str;
    fn beschreibung(&self) -> &str;
    fn kommunikation_von(&self) -> Option<&str>;
    fn message_type(&self) -> &str;
    fn format_version(&self) -> &str;
}
Expand description

Trait implemented by all generated PID-specific tree types.

Provides common operations that work across any PID structure: identification, metadata access, and serialization.

Required Methods§

Source

fn pid_id(&self) -> &str

The PID identifier (e.g., “55001”).

Source

fn beschreibung(&self) -> &str

Human-readable description of this PID.

Source

fn kommunikation_von(&self) -> Option<&str>

Communication direction (e.g., “NB an LF”).

Source

fn message_type(&self) -> &str

The message type (e.g., “UTILMD”).

Source

fn format_version(&self) -> &str

The format version (e.g., “FV2504”).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§