pub type NrosRmwPublisher = rmw_publisher_t;Expand description
Compat alias for the generated rmw_publisher_t.
Aliased Type§
#[repr(C)]pub struct NrosRmwPublisher {
pub topic_name: *const i8,
pub type_name: *const i8,
pub qos: rmw_qos_profile_t,
pub can_loan_messages: bool,
pub _reserved: [u8; 7],
pub backend_data: *mut c_void,
}Fields§
§topic_name: *const i8Topic name (borrowed; outlives the publisher).
type_name: *const i8ROS-2-style fully-qualified type name
(e.g., "std_msgs/msg/Int32"). Borrowed; outlives the publisher.
qos: rmw_qos_profile_tQoS subset honoured by this publisher.
can_loan_messages: boolBackend exposes loan_publish / commit_publish (Phase 99).
DERIVED by the runtime from vtable->borrow_loaned_message;
a backend’s write is overwritten (issue 0814).
_reserved: [u8; 7]Reserved for future fields; must be zero.
backend_data: *mut c_voidOpaque backend state. NULL if creation failed.