Enum bluenrg::AdvertisingFilterPolicy [−][src]
#[repr(u8)]pub enum AdvertisingFilterPolicy { AllowConnectionAndScan, AllowConnectionWhiteListScan, WhiteListConnectionAllowScan, WhiteListConnectionAndScan, }
Possible filter policies used for undirected advertising.
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 Debug for AdvertisingFilterPolicy
[src]
impl Debug for AdvertisingFilterPolicy
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Clone for AdvertisingFilterPolicy
[src]
impl Clone for AdvertisingFilterPolicy
fn clone(&self) -> AdvertisingFilterPolicy
[src]
fn clone(&self) -> AdvertisingFilterPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq<AdvertisingFilterPolicy> for AdvertisingFilterPolicy
[src]
impl PartialEq<AdvertisingFilterPolicy> for AdvertisingFilterPolicy
fn eq(&self, other: &AdvertisingFilterPolicy) -> bool
[src]
fn eq(&self, other: &AdvertisingFilterPolicy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for AdvertisingFilterPolicy
[src]
impl Copy for AdvertisingFilterPolicy
Auto Trait Implementations
impl Send for AdvertisingFilterPolicy
impl Send for AdvertisingFilterPolicy
impl Sync for AdvertisingFilterPolicy
impl Sync for AdvertisingFilterPolicy