#[repr(C)]pub struct NrosRmwQos {
pub reliability: u8,
pub durability: u8,
pub history: u8,
pub liveliness_kind: u8,
pub depth: u16,
pub _reserved0: u16,
pub deadline_ms: u32,
pub lifespan_ms: u32,
pub liveliness_lease_ms: u32,
pub avoid_ros_namespace_conventions: u8,
pub _reserved1: [u8; 3],
pub rx_buffer_hint: u32,
}Expand description
Full DDS-shaped QoS profile. Mirrors nros_rmw_qos_t from
<nros/rmw_entity.h>.
Fields§
§reliability: u8Reliability policy: 0 = best-effort, 1 = reliable.
durability: u8Durability policy: 0 = volatile, 1 = transient-local.
history: u8History policy: 0 = keep-last, 1 = keep-all.
liveliness_kind: u8Liveliness kind. See NrosRmwLivelinessKind.
depth: u16History depth (0–65 535).
_reserved0: u16Reserved; must be zero.
deadline_ms: u32Subscriber max-inter-arrival / publisher offered-rate, ms.
0 = infinite (no deadline).
lifespan_ms: u32Sample expiry, ms. 0 = infinite.
liveliness_lease_ms: u32Liveliness lease, ms. 0 = infinite.
avoid_ros_namespace_conventions: u8If non-zero, topic name encoding skips the ROS /rt/ prefix.
u8 instead of bool for ABI parity with C — sizeof(_Bool)
is impl-defined per C99.
_reserved1: [u8; 3]Reserved; must be zero.
rx_buffer_hint: u32Phase 231 (RFC-0038) — subscription receive-buffer size hint, bytes.
Carries TopicInfo::rx_buffer_hint across the C ABI to create_subscriber
so a size-classing backend (zenoh-pico) can pick a small/large receive
buffer. 0 = unset. Appended at the struct tail (ABI-append); ignored by
every slot except create_subscriber.
Trait Implementations§
Source§impl Clone for NrosRmwQos
impl Clone for NrosRmwQos
Source§fn clone(&self) -> NrosRmwQos
fn clone(&self) -> NrosRmwQos
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more