Enum getip::Error [−][src]
pub enum Error {
GlobalIpError(GlobalIpError),
AddrParseError(AddrParseError),
UnicodeParseError(FromUtf8Error),
NonZeroExit(ExitStatus),
IoError(Error),
NoAddress,
}Expand description
Errors that can happen.
Variants
GlobalIpError(GlobalIpError)Tuple Fields of GlobalIpError
AddrParseError(AddrParseError)Tuple Fields of AddrParseError
UnicodeParseError(FromUtf8Error)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