Enum getip::gip::GlobalIpError [−][src]
pub enum GlobalIpError {
ReqwestError(Error),
JsonParseError(Error),
JsonNotFoundError(String),
JsonDecodeError(String),
DnsError(Box<ResolveError>),
DnsNoServerError(String),
}Expand description
Error type of global IP providers.
Variants
ReqwestError(Error)Error because of a reqwest request.
Tuple Fields of ReqwestError
0: ErrorJsonParseError(Error)Error during JSON deserialization.
Tuple Fields of JsonParseError
0: ErrorJsonNotFoundError(String)Specified JSON field does not exist in the response.
Tuple Fields of JsonNotFoundError
0: StringJsonDecodeError(String)Specified JSON field cannot be decoded.
Tuple Fields of JsonDecodeError
0: StringDnsError(Box<ResolveError>)DNS queries failed.
Tuple Fields of DnsError
0: Box<ResolveError>DnsNoServerError(String)Tuple Fields of DnsNoServerError
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GlobalIpError
impl Send for GlobalIpError
impl Sync for GlobalIpError
impl Unpin for GlobalIpError
impl !UnwindSafe for GlobalIpError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more