oa_gateway::adapters::dds

Function start

Source
pub(crate) fn start(
    section: &DdsSection,
    schema: Option<&Arc<Schema>>,
    validate: ValidateMode,
    engine: Arc<Engine>,
    shutdown: CancellationToken,
) -> Result<JoinHandle<()>, String>
Expand description

Spawns DdsAdapter and returns a handle to its run task.

schema and validate check inbound samples the same way they check OWP traffic; validate has no effect without a schema.

ยงErrors

Returns an error if provider is unknown, qos is missing, or on_panic is not abort or reconnect.