pub(crate) enum Kind {
}
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.
Listen
Error creating a TcpListener.
Accept
Error accepting on an Incoming stream.
HeaderTimeout
User took too long to send headers
Body
Error while reading a body from connection.
BodyWrite
Error while writing a body to connection.
Shutdown
Error calling AsyncWrite::shutdown()
Http2
A general error from h2.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more