Hi, I am a beginner in rust, and I am trying to catch advertisement data of my BLE thermometer. In order to do that, I want to use bluez DBUS API.
I use the dbus-rs crate to achieve dbus communication.
I have manage to subscribe to the dbus and start/stop scan around but I need to subscribe to new object enumeration. For this purpose I use the match_start function of the Proxy struct but I can't understand what I am supposed to pass as third parameter of the method. I would expect to pass something like a callback but instead the parameter's type is
<T as MatchingReceiver>::F . I have read the rust documentation about associated types and generics but I am unable to understand anyway.
Maybe someone could help