Enum postgres_inet::MaskedIpAddrParseError [] [src]

pub enum MaskedIpAddrParseError {
    Address(AddrParseError),
    Netmask(ParseIntError),
    Format,
}

An error which can be returned when parsing a MaskedIpAddr.

Variants

An error occured in parsing the IP address

An error occured in parsing the netmask

An error occured elsewhere in parsing

Trait Implementations

impl Clone for MaskedIpAddrParseError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MaskedIpAddrParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for MaskedIpAddrParseError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for MaskedIpAddrParseError
[src]

impl Display for MaskedIpAddrParseError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for MaskedIpAddrParseError
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<AddrParseError> for MaskedIpAddrParseError
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for MaskedIpAddrParseError
[src]

[src]

Performs the conversion.

Auto Trait Implementations