Trait roslibrust_codegen::RosMessageType
source · pub trait RosMessageType: 'static + DeserializeOwned + Send + Serialize + Sync + Clone + Debug {
const ROS_TYPE_NAME: &'static str;
const MD5SUM: &'static str = "";
const DEFINITION: &'static str = "";
}
Expand description
Fundamental traits for message types this crate works with This trait will be satisfied for any types generated with this crate’s message_gen functionality
Required Associated Constants§
sourceconst ROS_TYPE_NAME: &'static str
const ROS_TYPE_NAME: &'static str
Expected to be the combination pkg_name/type_name string describing the type to ros Example: std_msgs/Header
Provided Associated Constants§
sourceconst MD5SUM: &'static str = ""
const MD5SUM: &'static str = ""
The computed md5sum of the message file and its dependencies This field is optional, and only needed when using ros1 native communication
sourceconst DEFINITION: &'static str = ""
const DEFINITION: &'static str = ""
The definition from the msg, srv, or action file This field is optional, and only needed when using ros1 native communication
Object Safety§
This trait is not object safe.