pub trait BuiltinTopic:
DdsType
+ Sealed
+ Sized {
const TOPIC_NAME: &'static str;
}Expand description
Marker-Trait + Lookup-Routing fuer die 4 Builtin-Topic-Typen.
Damit lookup_datareader::<T>(topic_name) per Type-Parameter den
richtigen Reader trifft. Externe Typen koennen das Trait nicht
implementieren — BuiltinTopic ist sealed.
Required Associated Constants§
Sourceconst TOPIC_NAME: &'static str
const TOPIC_NAME: &'static str
Topic-Name aus DDS 1.4 §2.2.5.
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.