pub(crate) enum Kind {
Show 13 variants Parse(Parse), User(User), IncompleteMessage, UnexpectedMessage, Canceled, ChannelClosed, Io, Connect, Body, BodyWrite, BodyWriteAborted, Shutdown, Http2,
}

Variants

Parse(Parse)

User(User)

IncompleteMessage

A message reached EOF, but is not complete.

UnexpectedMessage

A connection received a message (or bytes) when not waiting for one.

Canceled

A pending item was dropped before ever being processed.

ChannelClosed

Indicates a channel (client or body sender) is closed.

Io

An io::Error that occurred while trying to read or write to a network stream.

Connect

Error occurred while connecting.

Body

Error while reading a body from connection.

BodyWrite

Error while writing a body to connection.

BodyWriteAborted

The body write was aborted.

Shutdown

Error calling AsyncWrite::shutdown()

Http2

A general error from h2.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more