Enum ipnetwork::IpNetwork [] [src]

pub enum IpNetwork {
    V4(Ipv4Network),
    V6(Ipv6Network),
}

Variants

Methods

impl IpNetwork
[src]

Trait Implementations

impl Debug for IpNetwork
[src]

Formats the value using the given formatter.

impl Clone for IpNetwork
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IpNetwork
[src]

impl Hash for IpNetwork
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialEq for IpNetwork
[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 IpNetwork
[src]