Skip to main content

NrosRmwService

Type Alias NrosRmwService 

Source
pub type NrosRmwService = rmw_service_t;
Expand description

Compat alias for the generated rmw_service_t.

Aliased Type§

#[repr(C)]
pub struct NrosRmwService { pub service_name: *const i8, pub type_name: *const i8, pub _reserved: [u8; 8], pub backend_data: *mut c_void, }

Fields§

§service_name: *const i8

Service name (borrowed; outlives the server).

§type_name: *const i8

Fully-qualified service type name (e.g., "example_interfaces/srv/AddTwoInts"). Borrowed.

§_reserved: [u8; 8]

Reserved for future fields; must be zero.

§backend_data: *mut c_void

Opaque backend state. NULL if creation failed.