Zeeshan Ali Khan
Zeeshan Ali Khan
> Right, so it seems that if I want an array of non-variants, I need to use `Array::new` and pass a signature. It works, but it's eventually pretty ugly: but...
As I wrote, need to use `Array` directly should be very rare.
And `Array` can't be a generic type, because that'd need `Value` to be a generic type too and that couldn't work for various reasons.
In GitLab by @WhyNotHugo on Apr 21, 2022, 18:45 I haven't been able to use `Vec` directly. Using a `Vec` (e.g.: `let a = vec!(es);`): ``` error[E0308]: mismatched types -->...
> Using a `Vec` (e.g.: `let a = vec!(es);`): Same thing about `Structure`, you're not expected to be using it directly. Use a struct or tuple directly if you need...
In GitLab by @WhyNotHugo on Apr 21, 2022, 21:13 Ooooh! This turned out to be so much simpler! ```rust let exec_start = (command[0].clone(), command, true); let props: Vec = vec![...
> I have observed this with jetbrains-toolbox sending big-endian messages on a little-endian system. Is is only that it sends in BE but can receive in LE as well? If...
Hi there, > at the moment there is no way to just iterate the key/value pairs of a zvariant::Dict. If you want to do it you need to convert it...
In GitLab by @estokes on Oct 14, 2022, 24:44 I'm bridging dbus values to another quite similar dynamically typed network protocol (netidx), so I really need to just iterate and...
> I'm bridging dbus values to another quite similar dynamically typed network protocol (netidx), so I really need to just iterate and translate the values directly (e.g. I have a...