Struct dns_parser::Question [] [src]

pub struct Question<'a> {
    pub qname: Name<'a>,
    pub prefer_unicast: bool,
    pub qtype: QueryType,
    pub qclass: QueryClass,
}

A parsed chunk of data in the Query section of the packet

Fields

Whether or not we prefer unicast responses. This is used in multicast DNS.

Trait Implementations

impl<'a> Debug for Question<'a>
[src]

Formats the value using the given formatter.