#[repr(C)]pub struct bt_le_scan_cb {
pub recv: Option<unsafe extern "C" fn(_: *const bt_le_scan_recv_info, _: *mut net_buf_simple)>,
pub timeout: Option<unsafe extern "C" fn()>,
pub node: _snode,
}
Expand description
Listener context for (LE) scanning.
Fields§
§recv: Option<unsafe extern "C" fn(_: *const bt_le_scan_recv_info, _: *mut net_buf_simple)>
@brief Advertisement packet and scan response received callback.
@param info Advertiser packet and scan response information. @param buf Buffer containing advertiser data.
timeout: Option<unsafe extern "C" fn()>
@brief The scanner has stopped scanning after scan timeout.
node: _snode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_scan_cb
impl RefUnwindSafe for bt_le_scan_cb
impl !Send for bt_le_scan_cb
impl !Sync for bt_le_scan_cb
impl Unpin for bt_le_scan_cb
impl UnwindSafe for bt_le_scan_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