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]
impl Clone for MaskedIpAddrParseError
fn clone(&self) -> MaskedIpAddrParseError
[src]
fn clone(&self) -> MaskedIpAddrParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for MaskedIpAddrParseError
[src]
impl Debug for MaskedIpAddrParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MaskedIpAddrParseError
[src]
impl PartialEq for MaskedIpAddrParseError
fn eq(&self, other: &MaskedIpAddrParseError) -> bool
[src]
fn eq(&self, other: &MaskedIpAddrParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MaskedIpAddrParseError) -> bool
[src]
fn ne(&self, other: &MaskedIpAddrParseError) -> bool
This method tests for !=
.
impl Eq for MaskedIpAddrParseError
[src]
impl Eq for MaskedIpAddrParseError
impl Display for MaskedIpAddrParseError
[src]
impl Display for MaskedIpAddrParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for MaskedIpAddrParseError
[src]
impl Error for MaskedIpAddrParseError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<AddrParseError> for MaskedIpAddrParseError
[src]
impl From<AddrParseError> for MaskedIpAddrParseError
fn from(from: AddrParseError) -> MaskedIpAddrParseError
[src]
fn from(from: AddrParseError) -> MaskedIpAddrParseError
Performs the conversion.
impl From<ParseIntError> for MaskedIpAddrParseError
[src]
impl From<ParseIntError> for MaskedIpAddrParseError
fn from(from: ParseIntError) -> MaskedIpAddrParseError
[src]
fn from(from: ParseIntError) -> MaskedIpAddrParseError
Performs the conversion.
Auto Trait Implementations
impl Send for MaskedIpAddrParseError
impl Send for MaskedIpAddrParseError
impl Sync for MaskedIpAddrParseError
impl Sync for MaskedIpAddrParseError