[][src]Struct hyper_rustls::HttpsConnector

pub struct HttpsConnector<T> { /* fields omitted */ }

A Connector for the https scheme.

Implementations

impl HttpsConnector<HttpConnector>[src]

pub fn with_native_roots() -> Self[src]

This is supported on crate feature rustls-native-certs only.

Construct a new HttpsConnector using the OS root store

pub fn with_webpki_roots() -> Self[src]

This is supported on crate feature webpki-roots only.

Construct a new HttpsConnector using the webpki_roots

Trait Implementations

impl<T: Clone> Clone for HttpsConnector<T>[src]

impl<T> Debug for HttpsConnector<T>[src]

impl<H, C> From<(H, C)> for HttpsConnector<H> where
    C: Into<Arc<ClientConfig>>, 
[src]

impl<T> Service<Uri> for HttpsConnector<T> where
    T: Service<Uri>,
    T::Response: Connection + AsyncRead + AsyncWrite + Send + Unpin + 'static,
    T::Future: Send + 'static,
    T::Error: Into<Box<dyn Error + Send + Sync>>, 
[src]

type Response = MaybeHttpsStream<T::Response>

Responses given by the service.

type Error = Box<dyn Error + Send + Sync>

Errors produced by the service.

type Future = Pin<Box<dyn Future<Output = Result<MaybeHttpsStream<T::Response>, Box<dyn Error + Send + Sync>>> + Send>>

The future response value.

Auto Trait Implementations

impl<T> !RefUnwindSafe for HttpsConnector<T>[src]

impl<T> Send for HttpsConnector<T> where
    T: Send
[src]

impl<T> Sync for HttpsConnector<T> where
    T: Sync
[src]

impl<T> Unpin for HttpsConnector<T> where
    T: Unpin
[src]

impl<T> !UnwindSafe for HttpsConnector<T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.