Struct nex_packet::dns::DnsClass
source · pub struct DnsClass(pub u16);Expand description
Represents a DNS class.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
source§impl Ord for DnsClass
impl Ord for DnsClass
source§impl PartialEq for DnsClass
impl PartialEq for DnsClass
source§impl PartialOrd for DnsClass
impl PartialOrd for DnsClass
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 DnsClass
impl PrimitiveValues for DnsClass
impl Copy for DnsClass
impl Eq for DnsClass
impl StructuralPartialEq for DnsClass
Auto Trait Implementations§
impl Freeze for DnsClass
impl RefUnwindSafe for DnsClass
impl Send for DnsClass
impl Sync for DnsClass
impl Unpin for DnsClass
impl UnwindSafe for DnsClass
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