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 Networkfn clone(&self) -> Network[src]
fn clone(&self) -> NetworkReturns 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 Networkfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Network[src]
impl PartialEq for Networkfn eq(&self, other: &Network) -> bool[src]
fn eq(&self, other: &Network) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for Network[src]
impl Eq for Networkimpl Display for Network[src]
impl Display for Network