Enum dns_parser::Class [−][src]
pub enum Class { IN, CS, CH, HS, }
The CLASS value according to RFC 1035
Variants
IN
the Internet
CS
the CSNET class (Obsolete - used only for examples in some obsolete RFCs)
CH
the CHAOS class
HS
Hesiod [Dyer 87]
Methods
impl Class
[src]
impl Class
Trait Implementations
impl Debug for Class
[src]
impl Debug for Class
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Class
[src]
impl PartialEq for Class
fn eq(&self, other: &Class) -> bool
[src]
fn eq(&self, other: &Class) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Class
[src]
impl Eq for Class
impl Clone for Class
[src]
impl Clone for Class
fn clone(&self) -> Class
[src]
fn clone(&self) -> Class
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Class
[src]
impl Copy for Class