pub type NrosRmwSubscription = rmw_subscription_t;Expand description
Compat alias for the generated rmw_subscription_t.
Aliased Type§
#[repr(C)]pub struct NrosRmwSubscription {
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 subscription).
type_name: *const i8Fully-qualified type name. Borrowed.
qos: rmw_qos_profile_tQoS subset honoured by this subscription.
can_loan_messages: boolBackend exposes loan_recv / release_recv (Phase 99).
DERIVED by the runtime from vtable->take_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.