[][src]Struct bluetooth_hci::host::ScanParameters

pub struct ScanParameters {
    pub scan_type: ScanType,
    pub scan_window: ScanWindow,
    pub own_address_type: OwnAddressType,
    pub filter_policy: ScanFilterPolicy,
}

Parameters for the le_set_scan_parameters command.

Fields

scan_type: ScanType

The type of scan to perform

scan_window: ScanWindow

Recommendation 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: OwnAddressType

Indicates the type of address being used in the scan request packets.

filter_policy: ScanFilterPolicy

Indicates which advertising packets to accept.

Trait Implementations

impl Clone for ScanParameters[src]

impl Debug for ScanParameters[src]

impl PartialEq<ScanParameters> for ScanParameters[src]

impl StructuralPartialEq for ScanParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.