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.
Modules§
- telepathy
- Support for the type-definition elements of the Telepathy D-Bus introspection extensions.
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
- Signature
- A thin wrapper around
zvariant::parsed::Signature. - Warning
- A warning about document content that was ignored during parsing.
- XmlError
- An error encountered while parsing an XML document.
Enums§
- ArgDirection
- A direction of an argument
- Error
- The error type for
zbus_xml. - Property
Access - The possible property access types
Type Aliases§
- Result
- Alias for a
Resultwith the error typezbus_xml::Error.