Struct trust_dns_proto::xfer::dns_request::DnsRequestOptions
source · [−]Expand description
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 received.
Setting this option will cause the underlying protocol to await the timeout, and then return all Responses.
use_edns: bool
When true, will add EDNS options to the request.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DnsRequestOptions
impl Send for DnsRequestOptions
impl Sync for DnsRequestOptions
impl Unpin for DnsRequestOptions
impl UnwindSafe for DnsRequestOptions
Blanket Implementations
Mutably borrows from an owned value. Read more