#[repr(u16)]pub enum AddressFamilyId {
Ipv4 = 1,
Ipv6 = 2,
}Variants§
Trait Implementations§
Source§impl Clone for AddressFamilyId
impl Clone for AddressFamilyId
Source§fn clone(&self) -> AddressFamilyId
fn clone(&self) -> AddressFamilyId
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 AddressFamilyId
Source§impl Debug for AddressFamilyId
impl Debug for AddressFamilyId
Source§impl<'de> Deserialize<'de> for AddressFamilyId
impl<'de> Deserialize<'de> for AddressFamilyId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AddressFamilyId
impl Display for AddressFamilyId
impl Eq for AddressFamilyId
Source§impl Hash for AddressFamilyId
impl Hash for AddressFamilyId
Source§impl PartialEq for AddressFamilyId
impl PartialEq for AddressFamilyId
Source§fn eq(&self, other: &AddressFamilyId) -> bool
fn eq(&self, other: &AddressFamilyId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AddressFamilyId
impl Serialize for AddressFamilyId
impl StructuralPartialEq for AddressFamilyId
Auto Trait Implementations§
impl Freeze for AddressFamilyId
impl RefUnwindSafe for AddressFamilyId
impl Send for AddressFamilyId
impl Sync for AddressFamilyId
impl Unpin for AddressFamilyId
impl UnsafeUnpin for AddressFamilyId
impl UnwindSafe for AddressFamilyId
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