antoyo / dbus-macros-rs

Convenient macros to use the dbus crate
MIT License
11 stars 2 forks source link

Support multiple out paramenters #11

Closed zeenix closed 4 years ago

zeenix commented 7 years ago

D-Bus supports multiple out parameters so macros should support that too.

zeenix commented 7 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.

zeenix commented 4 years ago

This crate is no longer maintained or developed and is dropped in favor of zbus that provides much better API and has macros.

zeenix commented 4 years ago

I made a typo in my previous comment. The correct URL is https://crates.io/crates/zbus