The common sub-attributes get proxied over and proxy-specific sub-attributes can be specified using proxy attribute (e.g #[zbus(proxy(allow_interactive_auth))]).
We are only adding this for interface and not the deprecated dbus_interface. Not only it saves us duplication, hopefully this will further encourage people to switch to interface.
Known limitations:
Reference types in return values of interface methods won't work.
Methods returning object_server::ResponseDispatchNotifier wrapper will do the same for proxy as well.
The common sub-attributes get proxied over and proxy-specific sub-attributes can be specified using
proxy
attribute (e.g#[zbus(proxy(allow_interactive_auth))]
).We are only adding this for
interface
and not the deprecateddbus_interface
. Not only it saves us duplication, hopefully this will further encourage people to switch tointerface
.Known limitations:
interface
methods won't work.object_server::ResponseDispatchNotifier
wrapper will do the same for proxy as well.Fixes #236.