pub trait RosMessage:
Sized
+ Serialize
+ Deserialize {
const TYPE_NAME: &'static str;
const TYPE_HASH: &'static str;
}Expand description
Trait for ROS message types
Identifies a ROS message type by its DDS type name and RIHS hash.
All message types implement Serialize and Deserialize.
Required Associated Constants§
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.