Enum ipify_client::IpifyError [−][src]
pub enum IpifyError { RequestError, ParseError, }
Error states which can occur when resolving an IP.
Variants
RequestError
Indicates an error in the HTTP request to ipify.org
ParseError
Indicates an error in parsing the response from ipify.org
Trait Implementations
impl Debug for IpifyError
[src]
impl Debug for IpifyError
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 From<Error> for IpifyError
[src]
impl From<Error> for IpifyError
fn from(_: Error) -> IpifyError
[src]
fn from(_: Error) -> IpifyError
Performs the conversion.
impl From<Utf8Error> for IpifyError
[src]
impl From<Utf8Error> for IpifyError
fn from(_: Utf8Error) -> IpifyError
[src]
fn from(_: Utf8Error) -> IpifyError
Performs the conversion.
Auto Trait Implementations
impl Send for IpifyError
impl Send for IpifyError
impl Sync for IpifyError
impl Sync for IpifyError