Struct hyper_timeout_connector::HttpTimeoutConnector [] [src]

pub struct HttpTimeoutConnector { /* fields omitted */ }

A Hyper NetworkConnector which offers a connction timeout.


impl HttpTimeoutConnector

Creates a new HttpTimeoutConnector.

The connector initially has no connection timeout.

Returns the connection timeout.

Sets the connection timeout.

Trait Implementations

impl NetworkConnector for HttpTimeoutConnector

Type of Stream to create

Connect to a remote address.