Available on crate feature
client only.Expand description
DNS resolution utilities.
Structs§
- Constant
Resolver - A resolver that always returns the same address.
- First
Addr Future - Future returned by
FirstAddrResolverwhen resolving - First
Addr Resolver - Converts a standard resolver (which can return multiple addresses) into a resolver that only returns the first address as an IP address, suitable for use with a TCP transport that doesn’t do multiple connections.
- GaiResolver
- GetAddrInfo based resolver.
- Join
Handle Future - Future returned by
GaiResolverwhen resolving via getaddrinfo. - Parse
Address Resolver - A resolver that parses the input hostname as an IP address.
- Socket
Addrs - A collection of socket addresses.
Enums§
- IpVersion
- IP version.
Traits§
- First
Addr Ext - Extension trait for resolvers that can be converted to a
FirstAddrResolver. - IpVersion
Ext - Extension trait for
IpAddrandSocketAddrto get the IP version. - Resolver
Ext - Extension trait for resolvers.
Type Aliases§
- GaiFuture
- A future returned by
GaiResolverwhen resolving via getaddrinfo in a worker thread.