Lines Matching refs:Box
110 callbacks: Box<RustCallbacks>, in Initialize()
241 unsafe impl Box<RustCallbacks> {} impl
250 pub adapter_state_changed: Box<dyn Fn(BtState) + Send>,
251 pub adapter_properties_changed: Box<dyn Fn(i32, i32, Vec<ffi::BtProperty>) + Send>,
253 Box<dyn Fn(i32, ffi::RustRawAddress, i32, Vec<ffi::BtProperty>) + Send>,
254 pub device_found: Box<dyn Fn(i32, Vec<ffi::BtProperty>) + Send>,
255 pub discovery_state_changed: Box<dyn Fn(BtDiscoveryState) + Send>,
256 pub pin_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, bool) + Send>,
257 pub ssp_request: Box<dyn Fn(ffi::RustRawAddress, String, u32, i32, u32) + Send>,
258 pub bond_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32) + Send>,
259 pub acl_state_changed: Box<dyn Fn(i32, ffi::RustRawAddress, i32, i32) + Send>,
286 .Initialize(Box::new(RustCallbacks { inner: callbacks.clone() }), init_flags) in initialize()