pub enum OwnAddressType {
Public = 0,
Random = 1,
PrivateOrPublic = 2,
PrivateOrRandom = 3,
}
Variants§
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 From<OwnAddressType> for u8
impl From<OwnAddressType> for u8
Source§fn from(s: OwnAddressType) -> Self
fn from(s: OwnAddressType) -> Self
Converts to this type from the input type.
Source§impl Hash for OwnAddressType
impl Hash for OwnAddressType
Source§impl Ord for OwnAddressType
impl Ord for OwnAddressType
Source§fn cmp(&self, other: &OwnAddressType) -> Ordering
fn cmp(&self, other: &OwnAddressType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OwnAddressType
impl PartialEq for OwnAddressType
Source§impl PartialOrd for OwnAddressType
impl PartialOrd for OwnAddressType
Source§impl TryFrom<u8> for OwnAddressType
impl TryFrom<u8> for OwnAddressType
impl Copy for OwnAddressType
impl Eq 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