pub trait RosMessageType: 'static + DeserializeOwned + Send + Serialize + Sync + Clone + Debug {
    const ROS_TYPE_NAME: &'static str;
    const MD5SUM: &'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§

source

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

source

const MD5SUM: &'static str

The computed md5sum of the message file and its dependencies

Implementations on Foreign Types§

source§

impl RosMessageType for ()

source§

const ROS_TYPE_NAME: &'static str = ""

source§

const MD5SUM: &'static str = ""

Implementors§

source§

impl RosMessageType for Time

source§

const ROS_TYPE_NAME: &'static str = "builtin_interfaces/Time"

source§

const MD5SUM: &'static str = ""