#[repr(u8)]pub enum OwnAddressType {
Public = 0,
Random = 1,
PrivateFallbackPublic = 2,
PrivateFallbackRandom = 3,
}
Expand description
Indicates the type of address being used in the advertising packets.
Variants§
Public = 0
Public Device Address (default)
Random = 1
Random Device Address
PrivateFallbackPublic = 2
Controller generates Resolvable Private Address based on the local IRK from resolving list. If resolving list contains no matching entry, use public address.
PrivateFallbackRandom = 3
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 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 OwnAddressType
impl Debug for OwnAddressType
Source§impl PartialEq for OwnAddressType
impl PartialEq for OwnAddressType
impl Copy for OwnAddressType
impl StructuralPartialEq for OwnAddressType
Auto Trait Implementations§
impl Freeze for OwnAddressType
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