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§
Attribute Macros§
- interface
- Attribute macro for implementing a D-Bus interface.
- proxy
- Attribute macro for defining D-Bus proxies (using
zbus::Proxy).
Derive Macros§
- DBus
Error - Derive macro for implementing
zbus::DBusErrortrait. - Deserialize
Dict - Adds
Deserializeimplementation to structs to be deserialized from a D-Bus dictionary type. - Owned
Variant - Implements conversions for your type to/from
OwnedVariant. - Serialize
Dict - Adds
Serializeimplementation to structs to be serialized as a D-Bus dictionary type. - Type
- Derive macro to add
Typeimplementation to structs and enums. - Variant
- Implements conversions for your type to/from
Variant.