Enum getip::Error [−][src]
pub enum Error {
GlobalIpError(GlobalIpError),
AddrParseError(AddrParseError),
UnicodeParseError(FromUtf8Error),
NonZeroExit(ExitStatus),
IoError(Error),
NoAddress,
}Expand description
Error type of IP retrieval methods.
Variants
GlobalIpError(GlobalIpError)Error from a global IP provider.
Tuple Fields of GlobalIpError
AddrParseError(AddrParseError)Cannot parse string as an IP.
Tuple Fields of AddrParseError
UnicodeParseError(FromUtf8Error)Cannot parse data as UTF-8.
Tuple Fields of UnicodeParseError
NonZeroExit(ExitStatus)Command exited with a non-zero status.
Tuple Fields of NonZeroExit
0: ExitStatusIoError(Error)All libc-related errors.
Tuple Fields of IoError
0: ErrorNo address found.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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