Zeeshan Ali Khan

Results 481 comments of Zeeshan Ali Khan

In GitLab by @elmarco on Jul 7, 2020, 17:29 Yes, that would make sense, I think. I am not sure genericity is really buying us much though.

> I am not sure genericity is really buying us much though. Maybe not for D-Bus, where we negotiate with the bus and it's extremely unlikely to fail if we're...

In GitLab by @elmarco on Jul 7, 2020, 18:28 yes, if possible it should handle both cases internally imho. What I mean is that have `` byteorder has a generic...

> yes, if possible it should handle both cases internally imho. Right. Then I'll change the scope of this. > What I mean is that have `` byteorder has a...

In GitLab by @bilelmoussaoui on Jan 2, 2021, 03:03 So the idea is to automatically generate `connect_$prop_name_changed` signals? If that's the case, there has to be a way to omit...

> So the idea is to automatically generate `connect_$prop_name_changed` signals? Yeah but probably also a generic, `zbus::Proxy::connect_property_change(&mut self, prop_name)`. > f that's the case, there has to be a way...

In GitLab by @bilelmoussaoui on Jan 2, 2021, 15:36 > Not sure I follow. Why do we need to omit some props? Well, what I was thinking of is that...

Ah ok, yeah then it'd make sure to add an attribute to declare the property, 'const'. Unfortunately `const fn` isn't yet possible inside traits cause that would have made sense...

Thanks for reporting this. I think it'd be indeed better if we didn't replace the trait but rather implemented it. At least that's what we should try first and if...