Crate remora_derive
Expand description
Derive macros for the D-Bus value types of the remora clients.
The macros turn enums with a fallback variant and bit flag structs into
D-Bus values that keep unknown values, so new upstream values never fail
to parse. The generated code uses serde and zbus, so the crate that
uses the macros must depend on both.
Modulesยง
- flags ๐
- int_
enum ๐ - string_
enum ๐ - variants ๐
Derive Macrosยง
- Flags
- Derives the operations and conversions of a bit flag struct.
- IntEnum
- Derives the conversions of an enum that D-Bus sends as an integer.
- String
Enum - Derives the conversions of an enum that D-Bus sends as a string.