pub struct QosOverride {
pub topic: &'static str,
pub role: QosOverrideRole,
pub value: QosOverrideValue,
}Expand description
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’s QosSettings at
create_publisher / create_subscription time (setup-time, single
linear scan, no alloc), before the backend-compat validate_against —
so an override the active RMW can’t honour still errors loudly, never a
silent downgrade.
Fields§
§topic: &'static strThe resolved (remapped) topic name the override targets, e.g.
"/chatter". Matched exactly against the entity’s topic.
role: QosOverrideRolePublisher or subscription side.
value: QosOverrideValueThe policy + value to set.
Trait Implementations§
Source§impl Clone for QosOverride
impl Clone for QosOverride
Source§fn clone(&self) -> QosOverride
fn clone(&self) -> QosOverride
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QosOverride
impl Debug for QosOverride
Source§impl PartialEq for QosOverride
impl PartialEq for QosOverride
impl Copy for QosOverride
impl Eq for QosOverride
impl StructuralPartialEq for QosOverride
Auto Trait Implementations§
impl Freeze for QosOverride
impl RefUnwindSafe for QosOverride
impl Send for QosOverride
impl Sync for QosOverride
impl Unpin for QosOverride
impl UnsafeUnpin for QosOverride
impl UnwindSafe for QosOverride
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more