Enum trust_dns_resolver::config::LookupIpStrategy [−][src]
pub enum LookupIpStrategy { Ipv4Only, Ipv6Only, Ipv4AndIpv6, Ipv6thenIpv4, Ipv4thenIpv6, }
Expand description
The lookup ip strategy
Variants
Expand description
Only query for A (Ipv4) records
Expand description
Only query for AAAA (Ipv6) records
Expand description
Query for A and AAAA in parallel
Expand description
Query for Ipv6 if that fails, query for Ipv4
Expand description
Query for Ipv4 if that fails, query for Ipv6 (default)
Trait Implementations
impl Clone for LookupIpStrategy
[src]
impl Clone for LookupIpStrategy
[src]fn clone(&self) -> LookupIpStrategy
[src]
fn clone(&self) -> LookupIpStrategy
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for LookupIpStrategy
[src]
impl Debug for LookupIpStrategy
[src]impl Default for LookupIpStrategy
[src]
impl Default for LookupIpStrategy
[src]fn default() -> Self
[src]
fn default() -> Self
[src]Returns LookupIpStrategy::Ipv4thenIpv6
as the default.
impl PartialEq<LookupIpStrategy> for LookupIpStrategy
[src]
impl PartialEq<LookupIpStrategy> for LookupIpStrategy
[src]impl Copy for LookupIpStrategy
[src]
impl Eq for LookupIpStrategy
[src]
impl StructuralEq for LookupIpStrategy
[src]
impl StructuralPartialEq for LookupIpStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for LookupIpStrategy
impl Send for LookupIpStrategy
impl Sync for LookupIpStrategy
impl Unpin for LookupIpStrategy
impl UnwindSafe for LookupIpStrategy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,