Struct hyper::client::conn::Builder[][src]

pub struct Builder { /* fields omitted */ }

A builder to configure an HTTP connection.

After setting options, the builder is used to create a Handshake future.

Methods

impl Builder
[src]

Creates a new connection builder.

Sets whether HTTP2 is required.

Default is false.

Constructs a connection with the configured options and IO.

Trait Implementations

impl Clone for Builder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Builder
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder