Enum ip_network::IpNetworkError
[−]
[src]
pub enum IpNetworkError { NetmaskError(u8), HostBitsSet, }
Errors when creating new IPv4 or IPv6 networks
Variants
NetmaskError(u8)
Network mask is bigger than possible for given IP version (32 for IPv4, 128 for IPv6)
HostBitsSet
Host bits are set in given network IP address
Trait Implementations
impl Debug for IpNetworkError
[src]
impl Error for IpNetworkError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more