[][src]Module hyper::client::connect::dns

The Resolve trait, support types, and some basic implementations.

This module contains:

  • A GaiResolver that is the default resolver for the HttpConnector.
  • The Resolve trait and related types to build a custom resolver for use with the HttpConnector.

Structs

GaiAddrs

An iterator of IP addresses returned from getaddrinfo.

GaiFuture

A future to resole a name returned by GaiResolver.

GaiResolver

A resolver using blocking getaddrinfo calls in a threadpool.

InvalidNameError

Error indicating a given string was not a valid domain name.

Name

A domain name to resolve into IP addresses.

TokioThreadpoolGaiFuture

The future returned by TokioThreadpoolGaiResolver.

TokioThreadpoolGaiResolver

A resolver using getaddrinfo calls via the tokio_threadpool::blocking API.

Traits

Resolve

Resolve a hostname to a set of IP addresses.