Struct stm32wb_hci::host::ScanParameters
source · pub struct ScanParameters {
pub scan_type: ScanType,
pub scan_window: ScanWindow,
pub own_address_type: OwnAddressType,
pub filter_policy: ScanFilterPolicy,
}Expand description
Parameters for the le_set_scan_parameters command.
Fields§
§scan_type: ScanTypeThe type of scan to perform
scan_window: ScanWindowRecommendation from the host on how frequently the controller should scan. See the Bluetooth spec, Vol 6, Part B, Section 4.5.3.
own_address_type: OwnAddressTypeIndicates the type of address being used in the scan request packets.
filter_policy: ScanFilterPolicyIndicates which advertising packets to accept.
Trait Implementations§
source§impl Clone for ScanParameters
impl Clone for ScanParameters
source§fn clone(&self) -> ScanParameters
fn clone(&self) -> ScanParameters
Returns a copy 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 ScanParameters
impl Debug for ScanParameters
source§impl PartialEq<ScanParameters> for ScanParameters
impl PartialEq<ScanParameters> for ScanParameters
source§fn eq(&self, other: &ScanParameters) -> bool
fn eq(&self, other: &ScanParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ScanParameters
Auto Trait Implementations§
impl RefUnwindSafe for ScanParameters
impl Send for ScanParameters
impl Sync for ScanParameters
impl Unpin for ScanParameters
impl UnwindSafe for ScanParameters
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