pub trait Service: 'static {
type Request: Message;
type Response: Message;
// Required method
fn get_type_support() -> *const c_void;
}
Expand description
Trait for services.
User code never needs to call this trait’s method, much less implement this trait.
Required Associated Types§
Required Methods§
Sourcefn get_type_support() -> *const c_void
fn get_type_support() -> *const c_void
Get a pointer to the correct rosidl_service_type_support_t
structure.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.