Enum bluenrg::AdvertisingFilterPolicy[][src]

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

Possible filter policies used for undirected advertising.

See AdvertisingParameters.

Variants

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

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

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

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

Trait Implementations

impl Debug for AdvertisingFilterPolicy
[src]

Formats the value using the given formatter. Read more

impl Clone for AdvertisingFilterPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq<AdvertisingFilterPolicy> for AdvertisingFilterPolicy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for AdvertisingFilterPolicy
[src]

Auto Trait Implementations