Struct trust_dns_resolver::config::ResolverOpts [] [src]

pub struct ResolverOpts {
    pub timeout: Duration,
    // some fields omitted
}

Configuration for the Resolver

Fields

Specify the timeout for a request. Defaults to 5 seconds

Trait Implementations

impl Clone for ResolverOpts
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResolverOpts
[src]

impl Default for ResolverOpts
[src]

Default values for the Reolver configuration.

This follows the resolv.conf defaults as defined in the Linux man pages