pub trait RmwMessage:
Clone
+ Debug
+ Default
+ Send
+ Sync
+ Message {
const TYPE_NAME: &'static str;
// Required method
fn get_type_support() -> *const c_void;
}
Expand description
Trait for RMW-native messages.
See the documentation for the Message
trait, which is the trait that should generally be
used by user code.
User code never needs to call this trait’s method, much less implement this trait.
Required Associated Constants§
Required Methods§
Sourcefn get_type_support() -> *const c_void
fn get_type_support() -> *const c_void
Get a pointer to the correct rosidl_message_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.