Struct capnp::Error [] [src]

pub struct Error {
    pub kind: ErrorKind,
    pub description: String,
}

Describes an arbitrary error that prevented an operation from completing.

Fields

The type of the error. The purpose of this enum is not to describe the error itself, but rather to describe how the client might want to respond to the error.

Human-readable failure description.

Methods

impl Error
[src]

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

Performs the conversion.

impl From<NotInSchema> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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