Struct trust_dns_resolver::config::ResolverOpts
[−]
[src]
pub struct ResolverOpts { pub timeout: Duration, // some fields omitted }
Configuration for the Resolver
Fields
timeout: Duration
Specify the timeout for a request. Defaults to 5 seconds
Trait Implementations
impl Clone for ResolverOpts
[src]
fn clone(&self) -> ResolverOpts
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ResolverOpts
[src]
impl Default for ResolverOpts
[src]
fn default() -> Self
Default values for the Reolver configuration.
This follows the resolv.conf defaults as defined in the Linux man pages