#[repr(u8)]pub enum IpAddressFamily {
Ipv4 = 0,
Ipv6 = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for IpAddressFamily
impl Clone for IpAddressFamily
Source§fn clone(&self) -> IpAddressFamily
fn clone(&self) -> IpAddressFamily
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 IpAddressFamily
impl Debug for IpAddressFamily
Source§impl Ord for IpAddressFamily
impl Ord for IpAddressFamily
Source§fn cmp(&self, other: &IpAddressFamily) -> Ordering
fn cmp(&self, other: &IpAddressFamily) -> 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 IpAddressFamily
impl PartialEq for IpAddressFamily
Source§impl PartialOrd for IpAddressFamily
impl PartialOrd for IpAddressFamily
impl Copy for IpAddressFamily
impl Eq for IpAddressFamily
impl StructuralPartialEq for IpAddressFamily
Auto Trait Implementations§
impl Freeze for IpAddressFamily
impl RefUnwindSafe for IpAddressFamily
impl Send for IpAddressFamily
impl Sync for IpAddressFamily
impl Unpin for IpAddressFamily
impl UnwindSafe for IpAddressFamily
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