Enum resolv_conf::Network [] [src]

pub enum Network {
    V4(Ipv4AddrIpv4Addr),
    V6(Ipv6AddrIpv6Addr),
}

A network, that is an IP address and the mask

Variants

V4(Ipv4AddrIpv4Addr)V6(Ipv6AddrIpv6Addr)

Trait Implementations

impl Debug for Network
[src]

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

Formats the value using the given formatter.

impl Clone for Network
[src]

fn clone(&self) -> Network

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