Enum inapi::Error
[−]
[src]
pub enum Error { Agent(String), Auth(String), BuildFailed(String), RunFailed(String), Czmq(Error), Frame(MissingFrame), Generic(String), HostDisconnected, HostResponse, InvalidFileDescriptor, Io(Error), Mustache(Error), NulError(NulError), NullPtr(&'static str), ParseFloat(ParseFloatError), ParseInt(ParseIntError), QueryParser(String), Regex(Error), SerdeJson(Error), StrFromUtf8(Utf8Error), StringFromUtf8(FromUtf8Error), ZFileXfer(Error), }
Global error type.
Variants
Agent(String)
An error string returned from the host's Intecture Agent
Auth(String)
An error string returned from the host's Intecture Auth
BuildFailed(String)
Payload build failure
RunFailed(String)
Payload run failure
Czmq(Error)
CZMQ error
Frame(MissingFrame)
Message frames missing in the response from host's Intecture Agent
Generic(String)
Generic error string
HostDisconnected
Cannot run command on disconnected host
HostResponse
Invalid response from host
InvalidFileDescriptor
Invalid file descriptor
Io(Error)
IO error
Mustache(Error)
Mustache template error
NulError(NulError)
FFI null error
NullPtr(&'static str)
FFI received null pointer
ParseFloat(ParseFloatError)
Cast str as float
ParseInt(ParseIntError)
Cast str as int
QueryParser(String)
Data query parser
Regex(Error)
Regex error
SerdeJson(Error)
Serde JSON error
StrFromUtf8(Utf8Error)
Cast str
StringFromUtf8(FromUtf8Error)
Cast String
ZFileXfer(Error)
ZFileXfer error
Trait Implementations
impl Debug for Error
[src]
impl Send for Error
[src]
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl From<Box<Any + Send>> for Error
[src]
impl From<Error> for Error
[src]
impl From<NulError> for Error
[src]
impl From<Error> for Error
[src]
impl From<MissingFrame> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<Utf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
[src]
Performs the conversion.
impl From<ParseFloatError> for Error
[src]
fn from(err: ParseFloatError) -> Error
[src]
Performs the conversion.
impl From<ParseIntError> for Error
[src]
fn from(err: ParseIntError) -> Error
[src]
Performs the conversion.