pub trait SdIdIntrf: Display {
const SD_ID_TEXT: &'static str;
// Required method
fn format_msg(&self) -> String;
}
Expand description
A trait for the unification of the all Structured Data IDs (IANA-registered SD-IDs).
Required Associated Constants§
Sourceconst SD_ID_TEXT: &'static str
const SD_ID_TEXT: &'static str
SD-ID identifier.
Required Methods§
Sourcefn format_msg(&self) -> String
fn format_msg(&self) -> String
Formats the internals.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.