pub trait RosServiceType {
    type Request: RosMessageType;
    type Response: RosMessageType;

    const ROS_SERVICE_NAME: &'static str;
    const MD5SUM: &'static str;
}
Expand description

Fundamental traits for service types this crate works with This trait will be satisfied for any services definitions generated with this crate’s message_gen functionality

Required Associated Types§

source

type Request: RosMessageType

The type of data being sent in the request

source

type Response: RosMessageType

The type of the data

Required Associated Constants§

source

const ROS_SERVICE_NAME: &'static str

Name of the ros service e.g. rospy_tutorials/AddTwoInts

source

const MD5SUM: &'static str

The computed md5sum of the message file and its dependencies

Object Safety§

This trait is not object safe.

Implementors§