Expand description
Transport abstraction traits.
Defines the backend-agnostic interface that transport implementations (zenoh-pico, XRCE-DDS) must satisfy. The core trait hierarchy is:
Session— connection lifecycle and handle creationPublisher/Subscriber— pub/sub data transportServiceServerTrait/ServiceClientTrait— request/replyRmw— top-level factory that creates sessions
Structs§
- Action
Info - Action information for action client/server
- QosOverride
- Phase 211.H — one per-topic QoS override, lowered from a ROS 2
qos_overrides.<topic>.<role>.<policy>launch parameter by the planner and baked into a&'static [QosOverride]table by the entry codegen. The node folds the matching entries into the entity’sQosSettingsatcreate_publisher/create_subscriptiontime (setup-time, single linear scan, no alloc), before the backend-compatvalidate_against— so an override the active RMW can’t honour still errors loudly, never a silent downgrade. - QosPolicy
Mask - Bitmask of QoS policies a backend can honour. See
Session::supported_qos_policies. - QosSettings
- Full DDS-shaped QoS profile. Matches the field set of upstream
rmw_qos_profile_t. - RmwConfig
- Middleware-agnostic session configuration.
- Service
Info - Service information for service client/server
- Service
Request - Service request from a client
- Topic
Info - Topic information for pub/sub
- Transport
Config - Transport session configuration
Enums§
- Locator
Protocol - Locator transport protocol
- QosDurability
Policy - QoS durability policy
- QosHistory
Policy - QoS history policy
- QosLiveliness
Policy - QoS liveliness policy. Matches DDS
LIVELINESSsemantics. - QosOverride
Role - Phase 211.H — which side of a topic a
QosOverridetargets. Mirrors the<role>segment of a ROS 2qos_overrides.<topic>.<role>.<policy>launch parameter. - QosOverride
Value - Phase 211.H — a single policy value a
QosOverridesets. A typed enum (not a string) so the codegen that bakes these from the plan catches an unknown policy / mistyped value at generation time rather than silently no-op-ing at runtime. - QosReliability
Policy - QoS reliability policy
- Session
Mode - Session mode
- Transport
Error - Transport error types.
Traits§
- Publisher
- Publisher trait for sending messages.
- Rmw
- Factory trait for compile-time middleware selection.
- Service
Client Trait - Service client trait for sending requests.
- Service
Server Trait - Service server trait for handling requests.
- Session
- Transport session trait — the per-process anchor an RMW backend gives to the executor.
- Subscriber
- Subscriber trait for receiving messages.
- Transport
- Transport backend trait (legacy).
Functions§
- locator_
protocol - Parse the protocol from a locator string
- validate_
locator - Validate a locator string format.