Struct hyper_rustls::HttpsConnector
[−]
[src]
pub struct HttpsConnector { /* fields omitted */ }
A Connector for the https
scheme.
Methods
impl HttpsConnector
[src]
fn new(threads: usize, handle: &Handle) -> HttpsConnector
Construct a new HttpsConnector
.
Takes number of DNS worker threads.
Trait Implementations
impl Clone for HttpsConnector
[src]
fn clone(&self) -> HttpsConnector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for HttpsConnector
[src]
impl From<(HttpConnector, ClientConfig)> for HttpsConnector
[src]
fn from(args: (HttpConnector, ClientConfig)) -> HttpsConnector
Performs the conversion.
impl Service for HttpsConnector
[src]
type Request = Uri
Requests handled by the service.
type Response = MaybeHttpsStream
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = HttpsConnecting
The future response value.
fn call(&self, uri: Uri) -> Self::Future
Process the request and return the response asynchronously.