Struct trust_dns_client::op::LowerQuery
source · [−]pub struct LowerQuery { /* private fields */ }
Expand description
Identical to [trust_dns_client::op::Query
], except that the Name is guaranteed to be in lower case form
Implementations
QNAME a domain name represented as a sequence of labels, where
each label consists of a length octet followed by that
number of octets. The domain name terminates with the
zero length octet for the null label of the root. Note
that this field may be an odd number of octets; no
padding is used.
QTYPE a two octet code which specifies the type of the query.
The values for this field include all codes valid for a
TYPE field, together with some more general codes which
can match more than one type of RR.
QCLASS a two octet code that specifies the class of the query.
For example, the QCLASS field is IN for the Internet.
Trait Implementations
Read the type from the stream
Returns the object in binary form
Write the type to the stream
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LowerQuery
impl Send for LowerQuery
impl Sync for LowerQuery
impl Unpin for LowerQuery
impl UnwindSafe for LowerQuery
Blanket Implementations
Mutably borrows from an owned value. Read more