Struct trust_dns_resolver::config::ResolverConfig [] [src]

pub struct ResolverConfig { /* fields omitted */ }

Configuration for the upstream nameservers to use for resolution

Methods

impl ResolverConfig
[src]

Creates a new empty configuration

Add the configuration for a name server

Returns a reference to the name servers

Trait Implementations

impl Clone for ResolverConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResolverConfig
[src]

Formats the value using the given formatter.

impl Default for ResolverConfig
[src]

Creates a default configuration, using 8.8.8.8:53 and 8.8.4.4:53 (thank you, Google).