[−][src]Enum resolv::ResolverOption
Options for the Resolver
Variants
address initialized
print debug messages
use virtual circuit
ignore truncation errors
recursion desired
use default domain name
Keep TCP socket open
search up local domain tree
shuts off HOSTALIASES feature
rotate ns list after each query
Use EDNS0.
one outstanding request at a time
one outstanding request at a time, but open new socket for each request
use DNSSEC using OK bit in OPT
Do not look up unqualified name as a TLD.
No automatic configuration reload (since glibc 2.26; invalid in prior versions)
Request AD bit, keep it in responses (since glibc 2.31; invalid in prior version)
Default values
Trait Implementations
impl Clone for ResolverOption
[src]
fn clone(&self) -> ResolverOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResolverOption
[src]
impl Debug for ResolverOption
[src]
impl PartialEq<ResolverOption> for ResolverOption
[src]
fn eq(&self, other: &ResolverOption) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ResolverOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResolverOption
impl Send for ResolverOption
impl Sync for ResolverOption
impl Unpin for ResolverOption
impl UnwindSafe for ResolverOption
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,