Struct async_dnssd::Type
source · 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: u16
Implementations§
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§
source§impl Ord for Type
impl Ord for Type
source§impl PartialOrd for Type
impl PartialOrd for Type
impl Copy for Type
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)