Struct hyper_rustls::HttpsConnector
source · pub struct HttpsConnector<T> { /* private fields */ }Expand description
A Connector for the https scheme.
Trait Implementations
sourceimpl<T: Clone> Clone for HttpsConnector<T>
impl<T: Clone> Clone for HttpsConnector<T>
sourcefn clone(&self) -> HttpsConnector<T>
fn clone(&self) -> HttpsConnector<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T> Debug for HttpsConnector<T>
impl<T> Debug for HttpsConnector<T>
sourceimpl<H, C> From<(H, C)> for HttpsConnector<H>where
C: Into<Arc<ClientConfig>>,
impl<H, C> From<(H, C)> for HttpsConnector<H>where
C: Into<Arc<ClientConfig>>,
sourceimpl<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>>,
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>>,
type Response = MaybeHttpsStream<<T as Service<Uri>>::Response>
type Response = MaybeHttpsStream<<T as Service<Uri>>::Response>
Responses given by the service.
type Future = Pin<Box<dyn Future<Output = Result<MaybeHttpsStream<<T as Service<Uri>>::Response>, Box<dyn Error + Send + Sync + 'static, Global>>> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = Result<MaybeHttpsStream<<T as Service<Uri>>::Response>, Box<dyn Error + Send + Sync + 'static, Global>>> + Send + 'static, Global>>
The future response value.
Auto Trait Implementations
impl<T> !RefUnwindSafe for HttpsConnector<T>
impl<T> Send for HttpsConnector<T>where
T: Send,
impl<T> Sync for HttpsConnector<T>where
T: Sync,
impl<T> Unpin for HttpsConnector<T>where
T: Unpin,
impl<T> !UnwindSafe for HttpsConnector<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more