Skip to content

Draft: Allow #[zbus(...)] args in dbus_interface properties

Arnold Loubriat requested to merge DataTriny/zbus:args_in_props into main

Implements #218

Remaining work

  • I don't know how to best handle the property name check. has_inputs could be returned by get_args_from_msg, but then we might have to find a new name for this function, that already does more than the name imply.
  • These changes require modifying signals signature. To ease manual creation of signals we could maybe define a type alias like type FullSignalContext = (&ObjectServer, &Connection, &MessageHeader<'_>, &SignalContext<'_>).

Feedback and guidance very much appreciated.

Merge request reports