pub struct LeAdvertisingReport { /* private fields */ }
Expand description
The LE Advertising Report event indicates that a Bluetooth device or multiple Bluetooth devices have responded to an active scan or received some information during a passive scan. The Controller may queue these advertising reports and send information from multiple devices in one event.
For Bluetooth Version 5.0: This event shall only be generated if scanning was enabled using the LE Set Scan Enable command. It only reports advertising events that used legacy advertising PDUs.
Defined in Vol 2, Part E, Section 7.7.65.2 of the spec.
Implementations§
Source§impl LeAdvertisingReport
impl LeAdvertisingReport
Sourcepub fn iter(&self) -> LeAdvertisingReportIterator<'_> ⓘ
pub fn iter(&self) -> LeAdvertisingReportIterator<'_> ⓘ
Returns an iterator over the advertisements from the event.
Trait Implementations§
Source§impl Clone for LeAdvertisingReport
impl Clone for LeAdvertisingReport
Source§fn clone(&self) -> LeAdvertisingReport
fn clone(&self) -> LeAdvertisingReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LeAdvertisingReport
impl Debug for LeAdvertisingReport
impl Copy for LeAdvertisingReport
Auto Trait Implementations§
impl Freeze for LeAdvertisingReport
impl RefUnwindSafe for LeAdvertisingReport
impl Send for LeAdvertisingReport
impl Sync for LeAdvertisingReport
impl Unpin for LeAdvertisingReport
impl UnwindSafe for LeAdvertisingReport
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