async_std_resolver

Function resolver

Source
pub async fn resolver(
    config: ResolverConfig,
    options: ResolverOpts,
) -> AsyncStdResolver
Expand description

Construct a new async-std based AsyncResolver with the provided configuration.

ยงArguments

  • config - configuration, name_servers, etc. for the Resolver
  • options - basic lookup options for the resolver