#[repr(u64)]pub enum AdvertiserAddressType {
PublicDeviceOrIdentityAddress = 0,
RandomDeviceOrIdentityAddress = 1,
}Variants§
Trait Implementations§
Source§impl Clone for AdvertiserAddressType
impl Clone for AdvertiserAddressType
Source§fn clone(&self) -> AdvertiserAddressType
fn clone(&self) -> AdvertiserAddressType
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 AdvertiserAddressType
impl Debug for AdvertiserAddressType
Source§impl From<&AdvertiserAddressType> for u8
impl From<&AdvertiserAddressType> for u8
Source§fn from(value: &AdvertiserAddressType) -> Self
fn from(value: &AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for i16
impl From<AdvertiserAddressType> for i16
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for i32
impl From<AdvertiserAddressType> for i32
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for i64
impl From<AdvertiserAddressType> for i64
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for u16
impl From<AdvertiserAddressType> for u16
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for u32
impl From<AdvertiserAddressType> for u32
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for u64
impl From<AdvertiserAddressType> for u64
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl From<AdvertiserAddressType> for u8
impl From<AdvertiserAddressType> for u8
Source§fn from(value: AdvertiserAddressType) -> Self
fn from(value: AdvertiserAddressType) -> Self
Converts to this type from the input type.
Source§impl Hash for AdvertiserAddressType
impl Hash for AdvertiserAddressType
Source§impl PartialEq for AdvertiserAddressType
impl PartialEq for AdvertiserAddressType
Source§impl TryFrom<u8> for AdvertiserAddressType
impl TryFrom<u8> for AdvertiserAddressType
impl Copy for AdvertiserAddressType
impl Eq for AdvertiserAddressType
impl StructuralPartialEq for AdvertiserAddressType
Auto Trait Implementations§
impl Freeze for AdvertiserAddressType
impl RefUnwindSafe for AdvertiserAddressType
impl Send for AdvertiserAddressType
impl Sync for AdvertiserAddressType
impl Unpin for AdvertiserAddressType
impl UnwindSafe for AdvertiserAddressType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more