Represents errors that can occur handling HTTP streams.
Returns true if this was an HTTP parse error.
Returns true if this error was caused by user code.
pub fn is_canceled(&self) -> bool[src]
Returns true if this was about a
Request that was canceled.
Returns true if a sender's channel is closed.
pub fn is_connect(&self) -> bool[src]
Returns true if this was an error from
pub fn is_incomplete_message(&self) -> bool[src]
Returns true if the connection closed before a message could complete.
pub fn is_body_write_aborted(&self) -> bool[src]
Returns true if the body write was aborted.
Consumes the error, returning its cause.
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
type Error = Infallible
The type returned in the event of a conversion error.