Enum resolv_conf::Network
[−]
[src]
pub enum Network { V4(Ipv4Addr, Ipv4Addr), V6(Ipv6Addr, Ipv6Addr), }
A network, that is an IP address and a mask
Variants
V4(Ipv4Addr, Ipv4Addr)
Represent an IPv4 network address
V6(Ipv6Addr, Ipv6Addr)
Represent an IPv6 network address
Trait Implementations
impl Clone for Network
[src]
fn clone(&self) -> Network
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Network
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Network
[src]
fn eq(&self, __arg_0: &Network) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Network) -> bool
[src]
This method tests for !=
.