Lines Matching refs:Callbacks
17 enum Callbacks { enum
25 tx: Sender<Callbacks>,
26 rx: Receiver<Callbacks>,
32 let (tx, rx) = mpsc::channel::<Callbacks>(1); in make_context()
39 txl.send(Callbacks::AdapterStateChanged(state)).await; in make_context()
45 txl.send(Callbacks::AdapterPropertiesChanged(status, count, props)).await; in make_context()
51 txl.send(Callbacks::RemoteDevicePropertiesChanged(status, address, count, props)); in make_context()
57 txl.send(Callbacks::DeviceFound(count, props)).await; in make_context()
63 txl.send(Callbacks::DiscoveryStateChanged(state)).await; in make_context()
86 Callbacks::AdapterStateChanged(state) => { in mainloop()
93 Callbacks::AdapterPropertiesChanged(status, _count, properties) => { in mainloop()
110 Callbacks::RemoteDevicePropertiesChanged(status, address, _count, properties) => { in mainloop()
125 Callbacks::DeviceFound(_count, properties) => { in mainloop()
146 Callbacks::DiscoveryStateChanged(state) => { in mainloop()