Closed zeenix closed 1 year ago
In GitLab by @Reshad-Rahman on Jan 16, 2022, 17:50
Ignore, another user-error...
I am using 1.9.2
I strongly recommend using latest stable release: 2.0.1. If you get into any trouble with 1.x releases, you'll be on your own as we're very short on developer time.
As for your problem, I guess you found the Type
macro we provide for easy implementation of Type
trait on custom types, along with some other similar macros.
In GitLab by @Reshad-Rahman on Jan 17, 2022, 15:05
I strongly recommend using latest stable release: 2.0.1. If you get into any trouble with 1.x releases, you'll be on your own as we're very short on developer time.
Understood.
As for your problem, I guess you found the
Type
macro we provide for easy implementation ofType
trait on custom types, along with some other similar macros.
I did. And also I had misunderstood the D-Bus parameters.
Thanks for the quick responses!
In GitLab by @Reshad-Rahman on Jan 16, 2022, 17:29
I am using 1.9.2 and for messages with strings, calling body() is easy, e.g.: let body: String = msg.body()?;
But I can't figure out what type I should use for the result of body() for more complex messages e.g. with signature "sa{sv}as". So I am getting UnmatchedBodySignature as expected...