pub struct Type(pub u16);Expand description
DNS (RR)TYPE
Originally QTYPE was a superset of TYPE; RFC 6895 now defines:
There are three subcategories of RRTYPE numbers: data TYPEs, QTYPEs, and Meta-TYPEs.
§ANY
QTYPE 255 (“*”) doesn’t seem to have an official mnemonic; ANY is
used in most tools though.
The ANY mnemonic conflicts with the QCLASS ANY though…
Tuple Fields§
§0: u16Implementations§
Source§impl Type
impl Type
Sourcepub const NSEC3PARAM: Self
pub const NSEC3PARAM: Self
NSEC3PARAM
Sourcepub const OPENPGPKEY: Self
pub const OPENPGPKEY: Self
OpenPGP Key
Trait Implementations§
impl Copy for Type
impl Eq for Type
Source§impl Ord for Type
impl Ord for Type
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnsafeUnpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more