[][src]Type Definition trust_dns_resolver::ResolverFuture

type ResolverFuture = AsyncResolver;
Deprecated:

use [trust_dns_resolver::AsyncResolver] instead

This is an alias for AsyncResolver, which replaced the type previously called ResolverFuture.

Note

For users of ResolverFuture, the return type for ResolverFuture::new has changed since version 0.9 of trust-dns-resolver. It now returns a tuple of an AsyncResolver and a background future, which must be spawned on a reactor before any lookup futures will run.

See the AsyncResolver documentation for more information on how to use the background future.