[][src]Enum bluetooth_hci::host::ScanFilterPolicy

#[repr(u8)]pub enum ScanFilterPolicy {
    AcceptAll,
    WhiteList,
}

Which advertising packets to accept from a scan.

See ScanParameters and le_set_scan_parameters.

Variants

AcceptAll

Accept all advertising packets except directed advertising packets not addressed to this device (default).

WhiteList

Accept only advertising packets from devices where the advertiser’s address is in the White List. Directed advertising packets which are not addressed to this device shall be ignored.

Trait Implementations

impl Clone for ScanFilterPolicy[src]

impl Copy for ScanFilterPolicy[src]

impl Debug for ScanFilterPolicy[src]

impl PartialEq<ScanFilterPolicy> for ScanFilterPolicy[src]

impl StructuralPartialEq for ScanFilterPolicy[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.