pub enum IPAddressVersion {
IpV4,
IpV6,
}Variants§
Trait Implementations§
Source§impl Clone for IPAddressVersion
impl Clone for IPAddressVersion
Source§fn clone(&self) -> IPAddressVersion
fn clone(&self) -> IPAddressVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IPAddressVersion
Source§impl Debug for IPAddressVersion
impl Debug for IPAddressVersion
impl Eq for IPAddressVersion
Source§impl Ord for IPAddressVersion
impl Ord for IPAddressVersion
Source§fn cmp(&self, other: &IPAddressVersion) -> Ordering
fn cmp(&self, other: &IPAddressVersion) -> Ordering
1.21.0 (const: unstable) · 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 IPAddressVersion
impl PartialEq for IPAddressVersion
Source§fn eq(&self, other: &IPAddressVersion) -> bool
fn eq(&self, other: &IPAddressVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IPAddressVersion
impl PartialOrd for IPAddressVersion
impl StructuralPartialEq for IPAddressVersion
Auto Trait Implementations§
impl Freeze for IPAddressVersion
impl RefUnwindSafe for IPAddressVersion
impl Send for IPAddressVersion
impl Sync for IPAddressVersion
impl Unpin for IPAddressVersion
impl UnsafeUnpin for IPAddressVersion
impl UnwindSafe for IPAddressVersion
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