#[repr(u64)]pub enum LEPeerAddressType {
PUBLIC = 0,
RANDOM = 1,
ANONYMOUS = 255,
}Variants§
Trait Implementations§
Source§impl Clone for LEPeerAddressType
impl Clone for LEPeerAddressType
impl Copy for LEPeerAddressType
Source§impl Debug for LEPeerAddressType
impl Debug for LEPeerAddressType
impl Eq for LEPeerAddressType
Source§impl From<LEPeerAddressType> for u8
impl From<LEPeerAddressType> for u8
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for u16
impl From<LEPeerAddressType> for u16
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for u32
impl From<LEPeerAddressType> for u32
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for u64
impl From<LEPeerAddressType> for u64
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for i8
impl From<LEPeerAddressType> for i8
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for i16
impl From<LEPeerAddressType> for i16
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for i32
impl From<LEPeerAddressType> for i32
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl From<LEPeerAddressType> for i64
impl From<LEPeerAddressType> for i64
Source§fn from(val: LEPeerAddressType) -> Self
fn from(val: LEPeerAddressType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LEPeerAddressType
impl PartialEq for LEPeerAddressType
Source§impl SafeCmp<LEPeerAddressType> for LEPeerAddressType
impl SafeCmp<LEPeerAddressType> for LEPeerAddressType
Source§impl SafeCmp<LEPeerAddressType> for u64
impl SafeCmp<LEPeerAddressType> for u64
fn safe_eq(&self, other: LEPeerAddressType) -> bool
fn safe_less(&self, other: LEPeerAddressType) -> bool
Source§impl SafeCmp<LEPeerAddressType> for i64
impl SafeCmp<LEPeerAddressType> for i64
fn safe_eq(&self, other: LEPeerAddressType) -> bool
fn safe_less(&self, other: LEPeerAddressType) -> bool
Source§impl SafeCmp<i32> for LEPeerAddressType
impl SafeCmp<i32> for LEPeerAddressType
Source§impl SafeCmp<i64> for LEPeerAddressType
impl SafeCmp<i64> for LEPeerAddressType
Source§impl SafeCmp<u32> for LEPeerAddressType
impl SafeCmp<u32> for LEPeerAddressType
Source§impl SafeCmp<u64> for LEPeerAddressType
impl SafeCmp<u64> for LEPeerAddressType
impl StructuralPartialEq for LEPeerAddressType
Source§impl<V: Into<u64> + Copy> TryFromRaw<V> for LEPeerAddressType
impl<V: Into<u64> + Copy> TryFromRaw<V> for LEPeerAddressType
fn try_from_raw(val: V) -> Result<Self, Error<V>>
Auto Trait Implementations§
impl Freeze for LEPeerAddressType
impl RefUnwindSafe for LEPeerAddressType
impl Send for LEPeerAddressType
impl Sync for LEPeerAddressType
impl Unpin for LEPeerAddressType
impl UnsafeUnpin for LEPeerAddressType
impl UnwindSafe for LEPeerAddressType
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