Struct hyper::client::pool::Pool[][src]

pub struct Pool<C: NetworkConnector> { /* fields omitted */ }
Expand description

The NetworkConnector that behaves as a connection pool used by hyper’s Client.

Implementations

Creates a Pool with a DefaultConnector.

Creates a Pool with a specified NetworkConnector.

Set a duration for how long an idle connection is still valid.

Clear all idle connections from the Pool, closing them.

Trait Implementations

Type of Stream to create

Connect to a remote address.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Get the TypeId of this object.