pub enum QueryClass {
IN = 1,
CS = 2,
CH = 3,
HS = 4,
Any = 255,
}
Expand description
The QCLASS value according to RFC 1035
Variants§
IN = 1
the Internet
CS = 2
the CSNET class (Obsolete - used only for examples in some obsolete RFCs)
CH = 3
the CHAOS class
HS = 4
Hesiod [Dyer 87]
Any = 255
Any class
Implementations§
Source§impl QueryClass
impl QueryClass
Trait Implementations§
Source§impl Clone for QueryClass
impl Clone for QueryClass
Source§fn clone(&self) -> QueryClass
fn clone(&self) -> QueryClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QueryClass
impl Debug for QueryClass
Source§impl PartialEq for QueryClass
impl PartialEq for QueryClass
impl Copy for QueryClass
impl Eq for QueryClass
impl StructuralPartialEq for QueryClass
Auto Trait Implementations§
impl Freeze for QueryClass
impl RefUnwindSafe for QueryClass
impl Send for QueryClass
impl Sync for QueryClass
impl Unpin for QueryClass
impl UnwindSafe for QueryClass
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
)