Enum resolv_conf::Network [−][src]
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]
impl Clone for Network
fn clone(&self) -> Network
[src]
fn clone(&self) -> Network
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Network
[src]
impl Debug for Network
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Network
[src]
impl PartialEq for Network
fn eq(&self, other: &Network) -> bool
[src]
fn eq(&self, other: &Network) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Network) -> bool
[src]
fn ne(&self, other: &Network) -> bool
This method tests for !=
.
impl Eq for Network
[src]
impl Eq for Network
impl Display for Network
[src]
impl Display for Network