Macrosยง
- event_
test_ ๐cases - event_
wrapper_ ๐test_ cases - Expands to five tests:
- impl_
event_ ๐properties - Expands to implement the required methods for the
crate::EventPropertiestrait. This depends on the struct to have anitemfield of typecrate::ObjectRef. - impl_
event_ ๐type_ properties_ for_ event - Implement
EventTypePropertiesfor a given event type. - impl_
from_ ๐dbus_ message - Implements the
TryFromtrait for a given event type. Converts azbus::Messageinto a user facing event type. - impl_
from_ ๐interface_ event_ enum_ for_ event - Expands to a conversion given the enclosed event type and outer
Eventvariant. - impl_
from_ ๐object_ ref - Expands to implement From for
crate::ObjectRef. This depends on the struct to have anitemfield of typecrate::ObjectRef. - impl_
from_ ๐user_ facing_ event_ for_ interface_ event_ enum - Expands to a conversion given the user facing event type,
the wrapping interface enum variant, and the outer
Eventvariant. - impl_
from_ ๐user_ facing_ type_ for_ event_ enum - Expands to a conversion given two arguments,
- impl_
member_ ๐interface_ registry_ string_ and_ match_ rule_ for_ event - Implement
DBusMember,DBusInterface,DBusMatchRule, andRegistryEventStringfor a given event type. - impl_
msg_ ๐conversion_ ext_ for_ target_ type - Implements
MessageConversionExtfor a given target event type. - impl_
msg_ ๐conversion_ ext_ for_ target_ type_ with_ specified_ body_ type - Implements
MessageConversionExtfor a given target event type with a given body type. - impl_
msg_ ๐conversion_ for_ types_ built_ from_ object_ ref - Implement the
MessageConversiontrait for the given types. - impl_
to_ ๐dbus_ message - Implements the
TryFromtrait for a given event type. Converts a user facing event type into azbus::Message. - impl_
try_ ๐from_ event_ for_ interface_ enum - Expands to a conversion given the enclosed event enum type and outer
Eventvariant. - impl_
try_ ๐from_ event_ for_ user_ facing_ type - Expands to a
TryFrom<Event> for Twhere T is the user facing type. The macro takes three arguments: - impl_
tryfrommessage_ ๐for_ event_ wrapper - Implements
TryFromMessagefor a given event wrapper type.