You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, very true. The problem boils down to limitations in the Rust type system. A property can't be generic over Arg - it has to be a Box<Arg> or something like that, otherwise you can't have more than one type of property in a Tree (which is a non-starter). However, Box<Arg> is impossible because it contains static methods and can therefore not be turned into a trait object.
I experimented with making a trait similar to Arg but taking &self as argument instead of no argument, but never finished it properly.
Props returns MessageItem, so one can't use dbus::arg::Array and friends, which I thought was recommended over MessageItem these days?
The text was updated successfully, but these errors were encountered: