pub struct TlsConnectInfo<T> { /* private fields */ }
Expand description
Connection info for TLS streams.
This type will be accessible through request extensions if you’re using a TLS connector.
See Connected
for more details.
Implementations
sourceimpl<T> TlsConnectInfo<T>
impl<T> TlsConnectInfo<T>
Trait Implementations
sourceimpl<T: Clone> Clone for TlsConnectInfo<T>
impl<T: Clone> Clone for TlsConnectInfo<T>
sourcefn clone(&self) -> TlsConnectInfo<T>
fn clone(&self) -> TlsConnectInfo<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
Auto Trait Implementations
impl<T> RefUnwindSafe for TlsConnectInfo<T> where
T: RefUnwindSafe,
impl<T> Send for TlsConnectInfo<T> where
T: Send,
impl<T> Sync for TlsConnectInfo<T> where
T: Sync,
impl<T> Unpin for TlsConnectInfo<T> where
T: Unpin,
impl<T> UnwindSafe for TlsConnectInfo<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;