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 general kind of the error. Code that decides how to respond to an error should read only this field in making its decision.

Human-readable failure description.

Methods

impl Error
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<NotInSchema> for Error
[src]

[src]

Performs the conversion.

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

[src]

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