Struct hyper::Error [−][src]
pub struct Error { /* fields omitted */ }
Expand description
Represents errors that can occur handling HTTP streams.
Implementations
Returns true if this was an HTTP parse error caused by a message that was too large.
Returns true if this was an HTTP parse error caused by an invalid response status code or reason phrase.
Returns true if this was about a Request
that was canceled.
Returns true if this was an error from Connect
.
Returns true if the connection closed before a message could complete.
Returns true if the body write was aborted.
Returns true if the error was caused by a timeout.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
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