Struct dns_resolver::ResolvOptions
source · 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: SearchList§ndots: usize§timeout: Duration§attempts: usize§aa_only: bool§use_vc: bool§primary: bool§ign_tc: bool§use_inet6: bool§rotate: bool§no_check_names: bool§use_bstring: bool§use_ip6dotint: bool§use_edns0: bool§single_request: bool§single_request_reopen: bool§no_tld_query: boolTrait Implementations§
source§impl Clone for ResolvOptions
impl Clone for ResolvOptions
source§fn clone(&self) -> ResolvOptions
fn clone(&self) -> ResolvOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResolvOptions
impl Debug for ResolvOptions
Auto Trait Implementations§
impl RefUnwindSafe for ResolvOptions
impl Send for ResolvOptions
impl Sync for ResolvOptions
impl Unpin for ResolvOptions
impl UnwindSafe for ResolvOptions
Blanket Implementations§
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere Target: OctetsFrom<Source>,
source§fn octets_into(self) -> Result<Target, ShortBuf>
fn octets_into(self) -> Result<Target, ShortBuf>
Performs the conversion.