Crate zbus_xml

Source
Expand description

§zbus_xml

API to handle D-Bus introspection XML.

Thanks to the org.freedesktop.DBus.Introspectable interface, objects may be introspected at runtime, returning an XML string that describes the object.

This crate provides facilities to parse the XML data into more convenient Rust structures. The XML string may be parsed to a tree with Node::from_reader.

Status: Stable.

Structs§

Annotation
Annotations are generic key/value pairs of metadata.
Arg
An argument
Interface
An interface
Method
A method
Node
An introspection tree node (typically the root of the XML document).
Property
A property
Signal
A signal

Enums§

ArgDirection
A direction of an argument
Error
The error type for zbus_names.
PropertyAccess
The possible property access types

Type Aliases§

Result
Alias for a Result with the error type zbus_xml::Error.