Struct dns_resolver::ResolvOptions[][src]

pub struct ResolvOptions {
Show 17 fields pub search: SearchList, pub ndots: usize, pub timeout: Duration, pub attempts: usize, pub aa_only: bool, pub use_vc: bool, pub primary: bool, pub ign_tc: bool, pub use_inet6: bool, pub rotate: bool, pub no_check_names: bool, pub use_bstring: bool, pub use_ip6dotint: bool, pub use_edns0: bool, pub single_request: bool, pub single_request_reopen: bool, pub no_tld_query: bool,
}

Fields

search: SearchListndots: usizetimeout: Durationattempts: usizeaa_only: booluse_vc: boolprimary: boolign_tc: booluse_inet6: boolrotate: boolno_check_names: booluse_bstring: booluse_ip6dotint: booluse_edns0: boolsingle_request: boolsingle_request_reopen: boolno_tld_query: bool

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.