Struct async_dnssd::Class [−][src]
pub struct Class(pub u16);Expand description
DNS CLASS
Originally QCLASS was a superset of CLASS; RFC 6895 now defines:
There are currently two subcategories of DNS CLASSes: normal, data-containing classes; and QCLASSes that are only meaningful in queries or updates.
ANY
QTYPE 255 either (rules from RFC 6895):
- doesn’t have a mnemonic, violating the existence rule
- has “*” as mnemonic, violating the formatting rule
- has “ANY” as mnemonic, violating the uniquess rule (class ANY)
The QCLASS ANY is mostly useless anyway and shouldn’t be used in
normal queries.
Tuple Fields
0: u16Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Class
impl UnwindSafe for Class
Blanket Implementations
Mutably borrows from an owned value. Read more
