Crate zbus_lockstep

source ·
Expand description

§zbus-lockstep

Is a collection of helpers for retrieving DBus type signatures from XML descriptions. Useful for comparing these with your types’ signatures to ensure that they are compatible.

It offers functions that retrieve the signature of a method’s argument type, of a method’s return type, pf a signal’s body type or of a property’s type from DBus XML.

These functions require that you provide the file path to the XML file, the interface name, and the interface member wherein the signature resides.

Corresponding to each of these functions, macros are provided which do not require you to exactly point out where the signature is found. These will just search by interface member name.

The macros assume that the file path to the XML files is either:

  • xml or XML, the default path for DBus XML files - or is set by the
  • LOCKSTEP_XML_PATH, the env variable that overrides the default.

Re-exports§

  • pub use zbus_xml;
  • pub use zbus_xml::ArgDirection::In;
  • pub use zbus_xml::ArgDirection::Out;

Macros§

Structs§

  • An introspection tree node (typically the root of the XML document).

Enums§

Functions§