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

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for DnsRequestOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for DnsRequestOptions

impl Sync for DnsRequestOptions