Struct batch::Error [] [src]

pub struct Error { /* fields omitted */ }

Error type for the batch crate. Implements Fail.

Methods

impl Error
[src]

[src]

Returns true if the error is from the serialization of a Job or a Task.

[src]

Returns true if the error is from the deserialization of a Job or a Task.

[src]

Returns true if the error is from the underlying I/O event loop.

[src]

Returns true if the error is a generic I/O one.

[src]

Returns true if the error is from the spawning or execution of a subprocess.

[src]

Returns true if the error is from a missing Tokio reactor handle.

[src]

Returns true if the error is from the RabbitMQ connection.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Fail for Error
[src]

[src]

Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more

[src]

Returns a reference to the Backtrace carried by this failure, if it carries one. Read more

[src]

Provides context for this failure. Read more

[src]

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

[src]

Returns a iterator over the causes of this Fail with itself as the first item and the root_cause as the final item. Read more

[src]

Returns the "root cause" of this Fail - the last value in the cause chain which does not return an underlying cause. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ErrorKind> for Error
[src]

[src]

Performs the conversion.

impl From<Context<ErrorKind>> for Error
[src]

[src]

Performs the conversion.