Enum dns_lookup::AddrFamily
[−]
[src]
pub enum AddrFamily {
Unix,
Inet,
Inet6,
}Address Family
Cross platform enum of common Address Families. For missing types use
the libc and ws2_32 crates, depending on platform.
Variants
UnixLocal to host (pipes and file-domain)
InetIP protocol family.
Inet6IP version 6.
Trait Implementations
impl Copy for AddrFamily[src]
impl Clone for AddrFamily[src]
fn clone(&self) -> AddrFamily
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for AddrFamily[src]
impl PartialEq for AddrFamily[src]
fn eq(&self, __arg_0: &AddrFamily) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.