pub struct DdsConfig {
pub provider: DdsProviderKind,
pub domain_id: u16,
pub qos: PathBuf,
pub topics: Vec<String>,
pub unwrap_ma_payloads: bool,
pub suppress_echo: bool,
pub on_panic: OnPanic,
pub reconnect: bool,
pub reconnect_delay: Duration,
pub schema: Option<Arc<Schema>>,
pub validate: Mode,
pub max_sample_size: usize,
}Expand description
Runtime settings for a DDS session.
This is not the host TOML section. qos is already a path the host
has checked exists. There is no enabled flag here — spawning is
the host’s decision. Self::provider is a closed enum; the only
value in this build is DdsProviderKind::Rustdds.
Fields§
§provider: DdsProviderKindWhich provider to construct. Unknown names are refused before this struct is built.
domain_id: u16DDS domain id the participant joins.
qos: PathBufQoS file the provider interprets. rustdds parses a documented DDS-XML subset; a later FFI provider may pass the same path to its own loader.
topics: Vec<String>Engine topic names and DDS topic names, bridged both ways.
unwrap_ma_payloads: boolPeel A-GRA Rx/Tx wrappers on inbound samples and publish the wrapper plus the inner message.
suppress_echo: boolSkip outbound samples that originated on this adapter.
on_panic: OnPanicPanic while joined to the domain: abort run, or treat it as a
failed session.
reconnect: boolRejoin the domain after the session ends or panics.
reconnect_delay: DurationSleep between rejoin attempts.
schema: Option<Arc<Schema>>Compiled UCI schema used to check inbound samples. None skips
the check: there is nothing to check against.
validate: ModeWhat to do about an inbound sample that does not follow
Self::schema. Has no effect without one.
max_sample_size: usizeLargest inbound sample accepted, in bytes, before it is unwrapped or converted. An oversized sample is dropped and logged.