Closed zeenix closed 4 years ago
I spent some good number of hours trying to make this happen but it seems impossible to implement in a generic clean way. The only way forward at the moment is to define multiple macro matchers to handle different number of return arguments but that would mean we'll have to limit the number of arguments that can be returned. This might not be so bad as AFAIK it's rare to return many multiple arguments.
This crate is no longer maintained or developed and is dropped in favor of zbus that provides much better API and has macros.
I made a typo in my previous comment. The correct URL is https://crates.io/crates/zbus
D-Bus supports multiple out parameters so macros should support that too.