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§

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

Provided Associated Constants§

source

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

source

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.

Implementations on Foreign Types§

source§

impl RosMessageType for ()

source§

const ROS_TYPE_NAME: &'static str = ""

source§

const MD5SUM: &'static str = ""

source§

const DEFINITION: &'static str = ""

Implementors§

source§

impl RosMessageType for Time

source§

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

source§

const MD5SUM: &'static str = ""

source§

const DEFINITION: &'static str = ""