Struct trust_dns_proto::xfer::dns_request::DnsRequestOptions [−][src]
pub struct DnsRequestOptions { pub expects_multiple_responses: bool, }
A set of options for expressing options to how requests should be treated
Fields
expects_multiple_responses: bool
When true, the underlying DNS protocols will not return on the first response recieved.
Setting this option will cause the underlying protocol to await the timeout, and then return all Responses.
Trait Implementations
impl Clone for DnsRequestOptions
[src]
impl Clone for DnsRequestOptions
fn clone(&self) -> DnsRequestOptions
[src]
fn clone(&self) -> DnsRequestOptions
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 Default for DnsRequestOptions
[src]
impl Default for DnsRequestOptions
fn default() -> DnsRequestOptions
[src]
fn default() -> DnsRequestOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for DnsRequestOptions
impl Send for DnsRequestOptions
impl Sync for DnsRequestOptions
impl Sync for DnsRequestOptions