Struct nex_packet::dns::DnsType
source · pub struct DnsType(pub u16);Expand description
Represents a DNS type.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
source§impl Ord for DnsType
impl Ord for DnsType
source§impl PartialEq for DnsType
impl PartialEq for DnsType
source§impl PartialOrd for DnsType
impl PartialOrd for DnsType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PrimitiveValues for DnsType
impl PrimitiveValues for DnsType
impl Copy for DnsType
impl Eq for DnsType
impl StructuralPartialEq for DnsType
Auto Trait Implementations§
impl Freeze for DnsType
impl RefUnwindSafe for DnsType
impl Send for DnsType
impl Sync for DnsType
impl Unpin for DnsType
impl UnwindSafe for DnsType
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