Struct hyper::client::ProxyConfig

source ·
pub struct ProxyConfig<C, S>where
    C: NetworkConnector + Send + Sync + 'static,
    C::Stream: NetworkStream + Clone + Send,
    S: SslClient<C::Stream> + Send + Sync + 'static,
{ /* private fields */ }
Expand description

Proxy server configuration with a custom connector and TLS wrapper.

Implementations§

Create a new ProxyConfig.

Change the pool::Config for the proxy.

Passing None disables the Pool.

The default is enabled, with the default pool::Config.

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.