Available on crate feature
connect
only.Expand description
TCP and TLS connector services.
§Stages of the TCP connector service:
- Resolve
Host
(if needed) with givenResolver
and collect list of socket addresses. - Establish TCP connection and return
TcpStream
.
§Stages of TLS connector services:
- Resolve DNS and establish a
TcpStream
with the TCP connector service. - Wrap the stream and perform connect handshake with remote peer.
- Return wrapped stream type that implements
AsyncRead
andAsyncWrite
.
Modules§
- native_tls
native-tls
Native-TLS based connector service. - openssl
openssl
OpenSSL based connector service. - rustls_0_20
rustls-0_20-webpki-roots
orrustls-0_20-native-roots
Rustls based connector service. - rustls_0_21
rustls-0_21-webpki-roots
orrustls-0_21-native-roots
Rustls based connector service. - rustls_0_22
rustls-0_22
Rustls based connector service. - rustls_0_23
rustls-0_23
Rustls based connector service. - TCP connector service.
Structs§
- Connection request information.
- Wraps underlying I/O and the connection request that initiated it.
- Combined resolver and TCP connector service factory.
- Combined resolver and TCP connector service.
- DNS resolver service factory.
- DNS resolver service.
Enums§
- Errors that can result from using a connector service.
Traits§
- An interface for types where host parts (hostname and port) can be derived.
- Custom async DNS resolvers.