#[repr(u8)]pub enum ConnectionFilterPolicy {
UseAddress = 0,
WhiteList = 1,
}
Expand description
Possible values for the initiator filter policy in the
le_create_connection
command.
Variants§
UseAddress = 0
White List is not used to determine which advertiser to connect to. peer_address
shall be
used in the connection complete event.
WhiteList = 1
White List is used to determine which advertiser to connect to. peer_address
shall be
ignored in the connection complete event.
Trait Implementations§
Source§impl Clone for ConnectionFilterPolicy
impl Clone for ConnectionFilterPolicy
Source§fn clone(&self) -> ConnectionFilterPolicy
fn clone(&self) -> ConnectionFilterPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConnectionFilterPolicy
impl Debug for ConnectionFilterPolicy
impl Copy for ConnectionFilterPolicy
Auto Trait Implementations§
impl Freeze for ConnectionFilterPolicy
impl RefUnwindSafe for ConnectionFilterPolicy
impl Send for ConnectionFilterPolicy
impl Sync for ConnectionFilterPolicy
impl Unpin for ConnectionFilterPolicy
impl UnwindSafe for ConnectionFilterPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more