Enum simple_dns::CLASS
source · 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§
source§impl PartialEq for CLASS
impl PartialEq for CLASS
impl Copy for CLASS
impl Eq for CLASS
impl StructuralPartialEq for CLASS
Auto Trait Implementations§
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