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§
Sourcefn beschreibung(&self) -> &str
fn beschreibung(&self) -> &str
Human-readable description of this PID.
Sourcefn kommunikation_von(&self) -> Option<&str>
fn kommunikation_von(&self) -> Option<&str>
Communication direction (e.g., “NB an LF”).
Sourcefn message_type(&self) -> &str
fn message_type(&self) -> &str
The message type (e.g., “UTILMD”).
Sourcefn format_version(&self) -> &str
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".