Struct hyper::net::HttpsConnector

source ·
pub struct HttpsConnector<S: SslClient, C: NetworkConnector = HttpConnector> { /* private fields */ }
Expand description

A connector that can protect HTTP streams using SSL.

Implementations§

Create a new connector using the provided SSL implementation.

Create a new connector using the provided SSL implementation.

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.