Enum postgres_inet::MaskedIpAddrParseError
[−]
[src]
pub enum MaskedIpAddrParseError { Address(AddrParseError), Netmask(ParseIntError), Format, }
An error which can be returned when parsing a MaskedIpAddr
.
Variants
Address(AddrParseError)
An error occured in parsing the IP address
Netmask(ParseIntError)
An error occured in parsing the netmask
Format
An error occured elsewhere in parsing
Trait Implementations
impl Clone for MaskedIpAddrParseError
[src]
fn clone(&self) -> MaskedIpAddrParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MaskedIpAddrParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for MaskedIpAddrParseError
[src]
fn eq(&self, __arg_0: &MaskedIpAddrParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MaskedIpAddrParseError) -> bool
[src]
This method tests for !=
.
impl Eq for MaskedIpAddrParseError
[src]
impl Display for MaskedIpAddrParseError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for MaskedIpAddrParseError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<AddrParseError> for MaskedIpAddrParseError
[src]
fn from(from: AddrParseError) -> MaskedIpAddrParseError
[src]
Performs the conversion.
impl From<ParseIntError> for MaskedIpAddrParseError
[src]
fn from(from: ParseIntError) -> MaskedIpAddrParseError
[src]
Performs the conversion.