Crate opcua_xml

Crate opcua_xml 

Source
Expand description

Core utilities for working with various OPC-UA XML schemas.

This crate defines methods for decoding.

XML parsing is done with the roxmltree crate.

Re-exports§

pub use schema::opc_binary_schema::load_bsd_file;
pub use schema::ua_node_set::load_nodeset2_file;
pub use schema::xml_schema::load_xsd_schema;
pub use schema::opc_ua_types::XmlElement;

Modules§

events
Defines zero-copy XML events used throughout this library.
schema
Module containing OPC UA schema definitions.

Structs§

XmlError
Error returned from loading an XML document.
XmlStreamReader
XML stream reader specialized for working with OPC-UA XML.
XmlStreamWriter
XML stream writer specialized for working with OPC-UA XML.

Enums§

XmlErrorInner
Inner error variant of an error parsing an XML document.
XmlReadError
Error produced when reading XML.
XmlWriteError
Error returned when writing XML.

Traits§

FromValue
Trait for types that can be loaded from an XML node body.
XmlLoad
Trait for types that can be loaded from an XML node.

Functions§

from_str
Get a type by loading it from a string containing an XML document.