Enum postgres_inet::MaskedIpAddrParseError [−][src]
pub enum MaskedIpAddrParseError {
Address(AddrParseError),
Netmask(ParseIntError),
Format,
}
Expand description
An error which can be returned when parsing a MaskedIpAddr
.
Variants
Address(AddrParseError)
Tuple Fields
An error occured in parsing the IP address
Netmask(ParseIntError)
Tuple Fields
An error occured in parsing the netmask
Format
An error occured elsewhere in parsing
Trait Implementations
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MaskedIpAddrParseError
impl Send for MaskedIpAddrParseError
impl Sync for MaskedIpAddrParseError
impl Unpin for MaskedIpAddrParseError
impl UnwindSafe for MaskedIpAddrParseError
Blanket Implementations
Mutably borrows from an owned value. Read more