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
qname: Name<'a>prefer_unicast: boolWhether or not we prefer unicast responses. This is used in multicast DNS.
qtype: QueryTypeqclass: QueryClass