#[repr(u16)]pub enum QClass {
Internet = 1,
Chaos = 3,
Hesiod = 4,
}
Variants§
Trait Implementations§
source§impl Ord for QClass
impl Ord for QClass
source§impl PartialEq for QClass
impl PartialEq for QClass
source§impl PartialOrd for QClass
impl PartialOrd for QClass
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 moreimpl Copy for QClass
impl Eq for QClass
impl StructuralPartialEq for QClass
Auto Trait Implementations§
impl Freeze for QClass
impl RefUnwindSafe for QClass
impl Send for QClass
impl Sync for QClass
impl Unpin for QClass
impl UnwindSafe for QClass
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