oa_gateway_dds

Function load_qos

Source
pub fn load_qos(path: &Path) -> Result<QosSpec, String>
Expand description

Reads QosSpec from path.

The first <datawriter_qos> or <datareader_qos> supplies the policies. Omitted policies keep QosSpec::default.

ยงErrors

Returns a message if the file cannot be read, is not well-formed XML, or names an element this subset does not accept.