Enum stm32wb_hci::host::OwnAddressType
source · #[repr(u8)]pub enum OwnAddressType {
Public,
Random,
PrivateFallbackPublic,
PrivateFallbackRandom,
}Expand description
Indicates the type of address being used in the advertising packets.
Variants§
Public
Public Device Address (default)
Random
Random Device Address
PrivateFallbackPublic
Controller generates Resolvable Private Address based on the local IRK from resolving list. If resolving list contains no matching entry, use public address.
PrivateFallbackRandom
Controller generates Resolvable Private Address based on the local IRK from resolving
list. If resolving list contains no matching entry, use random address from
le_set_random_address.
Trait Implementations§
source§impl Clone for OwnAddressType
impl Clone for OwnAddressType
source§fn clone(&self) -> OwnAddressType
fn clone(&self) -> OwnAddressType
Returns a copy 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 OwnAddressType
impl Debug for OwnAddressType
source§impl PartialEq<OwnAddressType> for OwnAddressType
impl PartialEq<OwnAddressType> for OwnAddressType
source§fn eq(&self, other: &OwnAddressType) -> bool
fn eq(&self, other: &OwnAddressType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for OwnAddressType
impl StructuralPartialEq for OwnAddressType
Auto Trait Implementations§
impl RefUnwindSafe for OwnAddressType
impl Send for OwnAddressType
impl Sync for OwnAddressType
impl Unpin for OwnAddressType
impl UnwindSafe for OwnAddressType
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