Trait roslibrust_codegen::RosServiceType
source · 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§
sourcetype Request: RosMessageType
type Request: RosMessageType
The type of data being sent in the request
sourcetype Response: RosMessageType
type Response: RosMessageType
The type of the data
Required Associated Constants§
sourceconst ROS_SERVICE_NAME: &'static str
const ROS_SERVICE_NAME: &'static str
Name of the ros service e.g. rospy_tutorials/AddTwoInts
Object Safety§
This trait is not object safe.