Enum resolv_conf::Network[][src]

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

A network, that is an IP address and a mask

Variants

[]

Represent an IPv4 network address

[]

Represent an IPv6 network address

Trait Implementations

impl Clone for Network
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for Network
[src]
[+]

[]

Formats the value using the given formatter. Read more

impl PartialEq for Network
[src]
[+]

[]

This method tests for self and other values to be equal, and is used by ==. Read more

[]

This method tests for !=.

impl Eq for Network
[src]

impl Display for Network
[src]
[+]

[]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Network

impl Sync for Network