Enum esp32_nimble::enums::ScanFilterPolicy
source · #[repr(u8)]pub enum ScanFilterPolicy {
NoWl = 0,
UseWl = 1,
NoWlInitA = 2,
UseWlInitA = 3,
}
Variants§
NoWl = 0
Scanner processes all advertising packets (white list not used) except directed, connectable advertising packets not sent to the scanner.
UseWl = 1
Scanner processes advertisements from white list only. A connectable, directed advertisement is ignored unless it contains scanners address.
NoWlInitA = 2
Scanner process all advertising packets (white list not used). A connectable, directed advertisement shall not be ignored if the InitA is a resolvable private address.
UseWlInitA = 3
Scanner process advertisements from white list only. A connectable, directed advertisement shall not be ignored if the InitA is a resolvable private address.
Trait Implementations§
source§impl Clone for ScanFilterPolicy
impl Clone for ScanFilterPolicy
source§fn clone(&self) -> ScanFilterPolicy
fn clone(&self) -> ScanFilterPolicy
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScanFilterPolicy
impl Debug for ScanFilterPolicy
source§impl From<ScanFilterPolicy> for u8
impl From<ScanFilterPolicy> for u8
source§fn from(enum_value: ScanFilterPolicy) -> Self
fn from(enum_value: ScanFilterPolicy) -> Self
Converts to this type from the input type.
source§impl PartialEq for ScanFilterPolicy
impl PartialEq for ScanFilterPolicy
source§fn eq(&self, other: &ScanFilterPolicy) -> bool
fn eq(&self, other: &ScanFilterPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScanFilterPolicy
impl StructuralPartialEq for ScanFilterPolicy
Auto Trait Implementations§
impl Freeze for ScanFilterPolicy
impl RefUnwindSafe for ScanFilterPolicy
impl Send for ScanFilterPolicy
impl Sync for ScanFilterPolicy
impl Unpin for ScanFilterPolicy
impl UnwindSafe for ScanFilterPolicy
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)