[−][src]Struct tls_api_native_tls::TlsConnector
Fields
connector: TlsConnector
verify_hostname: bool
Trait Implementations
impl TlsConnector for TlsConnector
[src]
type Builder = TlsConnectorBuilder
fn builder() -> Result<TlsConnectorBuilder>
[src]
fn connect<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> Pin<Box<dyn Future<Output = Result<TlsStream<S>>> + Send + 'a>> where
S: AsyncRead + AsyncWrite + Debug + Unpin + Send + Sync + 'static,
[src]
&'a self,
domain: &'a str,
stream: S
) -> Pin<Box<dyn Future<Output = Result<TlsStream<S>>> + Send + 'a>> where
S: AsyncRead + AsyncWrite + Debug + Unpin + Send + Sync + 'static,
fn supports_alpn() -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for TlsConnector
impl Send for TlsConnector
impl Sync for TlsConnector
impl Unpin for TlsConnector
impl UnwindSafe for TlsConnector
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,