Enum ip_network::IpNetworkError [] [src]

pub enum IpNetworkError {
    NetmaskError(u8),
    HostBitsSet,
}

Errors when creating new IPv4 or IPv6 networks

Variants

Network mask is bigger than possible for given IP version (32 for IPv4, 128 for IPv6)

Host bits are set in given network IP address

Trait Implementations

impl Debug for IpNetworkError
[src]

[src]

Formats the value using the given formatter.

impl Error for IpNetworkError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for IpNetworkError
[src]

[src]

Formats the value using the given formatter. Read more