Enum external_ip::Error
source · pub enum Error {
Http(Error),
HttpInvalidUri(InvalidUri),
DecodeError(Utf8Error),
InvalidAddress(AddrParseError),
Dns(ResolveError),
DnsResolutionEmpty,
IgdExternalIp(GetExternalIpError),
IgdSearch(SearchError),
}Variants§
Http(Error)
HttpInvalidUri(InvalidUri)
DecodeError(Utf8Error)
InvalidAddress(AddrParseError)
Dns(ResolveError)
DnsResolutionEmpty
IgdExternalIp(GetExternalIpError)
IgdSearch(SearchError)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AddrParseError> for Error
impl From<AddrParseError> for Error
source§fn from(err: AddrParseError) -> Error
fn from(err: AddrParseError) -> Error
Converts to this type from the input type.
source§impl From<GetExternalIpError> for Error
impl From<GetExternalIpError> for Error
source§fn from(err: GetExternalIpError) -> Error
fn from(err: GetExternalIpError) -> Error
Converts to this type from the input type.
source§impl From<InvalidUri> for Error
impl From<InvalidUri> for Error
source§fn from(err: InvalidUri) -> Error
fn from(err: InvalidUri) -> Error
Converts to this type from the input type.
source§impl From<ResolveError> for Error
impl From<ResolveError> for Error
source§fn from(err: ResolveError) -> Error
fn from(err: ResolveError) -> Error
Converts to this type from the input type.
source§impl From<SearchError> for Error
impl From<SearchError> for Error
source§fn from(err: SearchError) -> Error
fn from(err: SearchError) -> Error
Converts to this type from the input type.