Enum ip_api::IpApiError [−][src]
pub enum IpApiError { PrivateRange, ReservedRange, InvalidQuery, Quota, OtherError(String), }
Variants
PrivateRange
The IP address is part of a private range
ReservedRange
The IP address is part of a reserved range
InvalidQuery
Invalid IP address or domain name
Quota
Quota exceeded, go unban yourself
OtherError(String)
Some other error has occurred
Trait Implementations
impl Debug for IpApiError
[src]
impl Debug for IpApiError
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 IpApiError
[src]
impl Error for IpApiError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This 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 IpApiError
Auto Trait Implementations
impl Send for IpApiError
impl Send for IpApiError
impl Sync for IpApiError
impl Sync for IpApiError