[][src]Enum bluenrg::AdvertisingFilterPolicy

#[repr(u8)]pub enum AdvertisingFilterPolicy {
    AllowConnectionAndScan,
    AllowConnectionWhiteListScan,
    WhiteListConnectionAllowScan,
    WhiteListConnectionAndScan,
}

Possible filter policies used for undirected advertising.

See AdvertisingParameters.

Variants

AllowConnectionAndScan

Process scan and connection requests from all devices (i.e., the White List is not in use) (default).

AllowConnectionWhiteListScan

Process connection requests from all devices and only scan requests from devices that are in the White List.

WhiteListConnectionAllowScan

Process scan requests from all devices and only connection requests from devices that are in the White List.

WhiteListConnectionAndScan

Process scan and connection requests only from devices in the White List.

Trait Implementations

impl Clone for AdvertisingFilterPolicy[src]

impl Copy for AdvertisingFilterPolicy[src]

impl Debug for AdvertisingFilterPolicy[src]

impl PartialEq<AdvertisingFilterPolicy> for AdvertisingFilterPolicy[src]

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