Enum ip_api::IpApiError [−][src]
pub enum IpApiError {
PrivateRange,
ReservedRange,
InvalidQuery,
Quota,
OtherError(String),
}Variants
PrivateRangeThe IP address is part of a private range
ReservedRangeThe IP address is part of a reserved range
InvalidQueryInvalid IP address or domain name
QuotaQuota exceeded, go unban yourself
OtherError(String)Some other error has occurred
Trait Implementations
impl Debug for IpApiError[src]
impl Debug for IpApiErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for IpApiError[src]
impl Error for IpApiErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for IpApiError[src]
impl Display for IpApiErrorAuto Trait Implementations
impl Send for IpApiError
impl Send for IpApiErrorimpl Sync for IpApiError
impl Sync for IpApiError