Module macros

Module macros 

Source

Macrosยง

event_test_cases ๐Ÿ”’
event_wrapper_test_cases ๐Ÿ”’
Expands to five tests:
impl_event_properties ๐Ÿ”’
Expands to implement the required methods for the crate::EventProperties trait. This depends on the struct to have an item field of type crate::ObjectRef.
impl_from_dbus_message ๐Ÿ”’
Implements the TryFrom trait for a given event type. Converts a zbus::Message into a user facing event type.
impl_from_interface_event_enum_for_event ๐Ÿ”’
Expands to a conversion given the enclosed event type and outer Event variant.
impl_from_object_ref ๐Ÿ”’
Expands to implement From for crate::ObjectRef. This depends on the struct to have an item field of type crate::ObjectRef.
impl_from_user_facing_event_for_interface_event_enum ๐Ÿ”’
Expands to a conversion given the user facing event type and outer Event::Interface(<InterfaceEnum>) variant., the enum type and outtermost variant.
impl_from_user_facing_type_for_event_enum ๐Ÿ”’
Expands to a conversion given two arguments,
impl_to_dbus_message ๐Ÿ”’
Implements the TryFrom trait for a given event type. Converts a user facing event type into a zbus::Message.
impl_try_from_event_for_interface_enum ๐Ÿ”’
Expands to a conversion given the enclosed event enum type and outer Event variant.
impl_try_from_event_for_user_facing_type ๐Ÿ”’
Expands to a conversion given two arguments,