Struct hyper::error::Error[][src]

pub struct Error { /* fields omitted */ }

Represents errors that can occur handling HTTP streams.

Methods

impl Error
[src]

Returns true if this was an HTTP parse error.

Returns true if this error was caused by user code.

Returns true if this was about a Request that was canceled.

Returns true if a sender's channel is closed.

Returns the error's cause.

This is identical to Error::cause except that it provides extra bounds required to be able to downcast the error.

Consumes the error, returning its cause.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error