Struct trust_dns_proto::xfer::dns_request::DnsRequestOptions [−][src]
pub struct DnsRequestOptions {
pub expects_multiple_responses: bool,
}
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.
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