#[repr(C)]pub struct bt_br_discovery_cb {
pub recv: Option<unsafe extern "C" fn(_: *const bt_br_discovery_result)>,
pub timeout: Option<unsafe extern "C" fn(_: *const bt_br_discovery_result, _: usize)>,
pub node: _snode,
}
Fields§
§recv: Option<unsafe extern "C" fn(_: *const bt_br_discovery_result)>
@brief An inquiry response received callback.
@param result Storage used for discovery results
timeout: Option<unsafe extern "C" fn(_: *const bt_br_discovery_result, _: usize)>
@brief The inquiry has stopped after discovery timeout.
@param results Storage used for discovery results @param count Number of valid discovery results.
node: _snode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_br_discovery_cb
impl RefUnwindSafe for bt_br_discovery_cb
impl !Send for bt_br_discovery_cb
impl !Sync for bt_br_discovery_cb
impl Unpin for bt_br_discovery_cb
impl UnwindSafe for bt_br_discovery_cb
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more