Struct tk_http::client::Error []

pub struct Error(_);

HTTP client error

Methods

impl Error
[src]

[src]

Create an error instance wrapping custom error

[src]

Tries to catch all the conditions where this isn't error

Currently catches these conditions:

  1. Connection timed out while being on keep-alive (no inprogress requests)
  2. Connection is closed after Connection: close header

More conditions may be added in future. This should be commonly used to skip logging of useless errors.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error