Enum dns_parser::QueryClass
[−]
[src]
pub enum QueryClass {
IN,
CS,
CH,
HS,
Any,
}The QCLASS value according to RFC 1035
Variants
INthe Internet
CSthe CSNET class (Obsolete - used only for examples in some obsolete RFCs)
CHthe CHAOS class
HSHesiod [Dyer 87]
AnyAny class
Methods
impl QueryClass[src]
fn parse(code: u16) -> Result<QueryClass, Error>
Trait Implementations
impl Copy for QueryClass[src]
impl Clone for QueryClass[src]
fn clone(&self) -> QueryClass
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Eq for QueryClass[src]
impl PartialEq for QueryClass[src]
fn eq(&self, __arg_0: &QueryClass) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.