Expand description
Core utilities for working with various OPC-UA XML schemas.
This crate defines methods for decoding.
- A subset of the XMLSchema schema in schema::xml_schema.
- XML schema for OPC-UA BSD files in schema::opc_binary_schema
- XML schema for OPC-UA types defined in XSD files in schema::opc_ua_types
- XML schema for NodeSet2 files in schema::ua_node_set
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.
- XmlStream
Reader - XML stream reader specialized for working with OPC-UA XML.
- XmlStream
Writer - XML stream writer specialized for working with OPC-UA XML.
Enums§
- XmlError
Inner - Inner error variant of an error parsing an XML document.
- XmlRead
Error - Error produced when reading XML.
- XmlWrite
Error - Error returned when writing XML.
Traits§
- From
Value - 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.