oa_gateway_dds::qos_xml

Function load

Source
pub fn load(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.