Struct tls_api_not_tls::TlsConnector [−][src]
pub struct TlsConnector(pub ());
Tuple Fields
0: ()
Trait Implementations
type Builder = TlsConnectorBuilder
type Builder = TlsConnectorBuilder
Type of the builder for this connector.
Is it implemented? When false
all operations return an error. Read more
Whether this implementation supports ALPN negotiation.
type Underlying = ()
type Underlying = ()
Type of the underlying connector.
type TlsStream = TlsStream<AsyncSocketBox>
type TlsStream = TlsStream<AsyncSocketBox>
crate::TlsStream<tls_api::AsyncSocketBox>
. Read more
Get the underlying builder. Read more
New builder for the acceptor.
fn connect_with_socket<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
fn connect_with_socket<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStreamWithSocket<S>>> where
S: AsyncSocket,
Connect. Read more
fn connect_impl_tls_stream<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
fn connect_impl_tls_stream<'a, S>(
&'a self,
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<Self::TlsStream>> where
S: AsyncSocket,
Connect. Read more
Dynamic (without type parameter) version of the connector. Read more
Dynamic (without type parameter) version of the connector.
fn connect_default<S>(
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
fn connect_default<S>(
domain: &'a str,
stream: S
) -> BoxFuture<'a, Result<TlsStream, Error>> where
S: AsyncSocket,
Connect using default settings. Read more