Struct hyper_rustls::HttpsConnector
source · [−]pub struct HttpsConnector<T> { /* private fields */ }
Expand description
A Connector for the https
scheme.
Implementations
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 more
sourceimpl<T> Connect for HttpsConnector<T> where
T: Connect<Error = Error>,
T::Transport: 'static,
T::Future: 'static,
impl<T> Connect for HttpsConnector<T> where
T: Connect<Error = Error>,
T::Transport: 'static,
T::Future: 'static,
type Transport = MaybeHttpsStream<T::Transport>
type Transport = MaybeHttpsStream<T::Transport>
The connected IO Stream.
sourcefn connect(&self, dst: Destination) -> Self::Future
fn connect(&self, dst: Destination) -> Self::Future
Connect to a destination.
sourceimpl<T> Debug for HttpsConnector<T>
impl<T> Debug for HttpsConnector<T>
sourceimpl<T> From<(T, Arc<ClientConfig>)> for HttpsConnector<T>
impl<T> From<(T, Arc<ClientConfig>)> for HttpsConnector<T>
sourceimpl<T> From<(T, ClientConfig)> for HttpsConnector<T>
impl<T> From<(T, ClientConfig)> for HttpsConnector<T>
sourcefn from(args: (T, ClientConfig)) -> Self
fn from(args: (T, ClientConfig)) -> Self
Performs the conversion.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more