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

An error string returned from the host's Intecture Agent

An error string returned from the host's Intecture Auth

Payload build failure

Payload run failure

CZMQ error

Message frames missing in the response from host's Intecture Agent

Generic error string

Cannot run command on disconnected host

Invalid response from host

Invalid file descriptor

IO error

Mustache template error

FFI null error

FFI received null pointer

Cast str as float

Cast str as int

Data query parser

Regex error

Serde JSON error

Cast str

Cast String

ZFileXfer error

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Send for Error
[src]

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl From<Box<Any + Send>> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<NulError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<MissingFrame> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.