pub enum CLASS {
IN = 1,
CS = 2,
CH = 3,
HS = 4,
NONE = 254,
}
Expand description
Possible CLASS values for a Resource in a DNS packet
Each value is described according to its own RFC
Variants§
IN = 1
The Internet, RFC 1035
CS = 2
The CSNET class (Obsolete - used only for examples in some obsolete RFCs), RFC 1035
CH = 3
The CHAOS class, RFC 1035
HS = 4
Hesiod [Dyer 87], RFC 1035
NONE = 254
Trait Implementations§
impl Copy for CLASS
impl Eq for CLASS
impl StructuralPartialEq for CLASS
Auto Trait Implementations§
impl Freeze for CLASS
impl RefUnwindSafe for CLASS
impl Send for CLASS
impl Sync for CLASS
impl Unpin for CLASS
impl UnwindSafe for CLASS
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
)