Enum resolv_conf::IpAddr [] [src]

pub enum IpAddr {
    V4(Ipv4Addr),
    V6(Ipv6Addr),
}

Variants

V4(Ipv4Addr)V6(Ipv6Addr)

Trait Implementations

impl Debug for IpAddr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for IpAddr
[src]

fn clone(&self) -> IpAddr

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