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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Network
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Network
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Network
[src]