Enum trust_dns_resolver::config::LookupIpStrategy[][src]

pub enum LookupIpStrategy {
    Ipv4Only,
    Ipv6Only,
    Ipv4AndIpv6,
    Ipv6thenIpv4,
    Ipv4thenIpv6,
}

The lookup ip strategy

Variants

Only query for A (Ipv4) records

Only query for AAAA (Ipv6) records

Query for A and AAAA in parallel

Query for Ipv6 if that fails, query for Ipv4

Query for Ipv4 if that fails, query for Ipv6 (default)

Trait Implementations

impl Debug for LookupIpStrategy
[src]

Formats the value using the given formatter. Read more

impl Clone for LookupIpStrategy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LookupIpStrategy
[src]

impl PartialEq for LookupIpStrategy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LookupIpStrategy
[src]

impl Default for LookupIpStrategy
[src]

Returns Ipv4AndIpv6 as the default.

Auto Trait Implementations

impl Send for LookupIpStrategy

impl Sync for LookupIpStrategy