Skip to main content

Crate zbus_macros

Crate zbus_macros 

Source
Expand description

§zbus_macros

This subcrate of the zbus project provides convenient attribute macros that make zbus super easy to use. The main subcrate, zbus re-exports these macros for your convenience so you do not need to use this crate directly.

Status: Stable.

Macros§

signature
Constructs a const Signature with compile-time validation.

Attribute Macros§

interface
Attribute macro for implementing a D-Bus interface.
proxy
Attribute macro for defining D-Bus proxies (using zbus::Proxy).

Derive Macros§

DBusError
Derive macro for implementing zbus::DBusError trait.
DeserializeDict
Adds Deserialize implementation to structs to be deserialized from a D-Bus dictionary type.
OwnedVariant
Implements conversions for your type to/from OwnedVariant.
SerializeDict
Adds Serialize implementation to structs to be serialized as a D-Bus dictionary type.
Type
Derive macro to add Type implementation to structs and enums.
Variant
Implements conversions for your type to/from Variant.