Expand description
TCP and TLS connector services.
§Stages of the TCP connector service:
- Resolve
Host(if needed) with givenResolverand collect list of socket addresses. - Establish TCP connection and return
TcpStream.
§Stages of TLS connector services:
- Resolve DNS and establish a
TcpStreamwith the TCP connector service. - Wrap the stream and perform connect handshake with remote peer.
- Return wrapped stream type that implements
AsyncReadandAsyncWrite.
Modules§
- rustls_
0_ 23 - Rustls based connector service.
- tcp
- TCP connector service.
Structs§
- Connect
Info - Connection request information.
- Connection
- Wraps underlying I/O and the connection request that initiated it.
- Connector
- Combined resolver and TCP connector service factory.
- Connector
Service - Combined resolver and TCP connector service.
- Resolver
- DNS resolver service factory.
- Resolver
Service - DNS resolver service.
Enums§
- Connect
Error - Errors that can result from using a connector service.