Enum ip_network::IpNetworkParseError
[−]
[src]
pub enum IpNetworkParseError { InvalidNetmaskFormat, InvalidFormatError, AddrParseError, IpNetworkError(IpNetworkError), }
Errors from IPv4 or IPv6 network parsing
Variants
InvalidNetmaskFormat
Network mask is not valid integer between 0-255
InvalidFormatError
AddrParseError
Invalid IP address syntax (IPv4 or IPv6)
IpNetworkError(IpNetworkError)
Trait Implementations
impl Debug for IpNetworkParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for IpNetworkParseError
[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