Enum dns_parser::QueryClass [] [src]

pub enum QueryClass {
    IN,
    CS,
    CH,
    HS,
    Any,
}

The QCLASS 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]

Any

Any class

Methods

impl QueryClass
[src]

fn parse(code: u16) -> Result<QueryClassError>

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) -> bool
1.0.0

This method tests for !=.

impl Debug for QueryClass
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.