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

fn parse(code: u16) -> Result<Class, Error>

Trait Implementations

Derived Implementations

impl Copy for Class

impl Clone for Class

fn clone(&self) -> Class

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for Class

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Class

fn eq(&self, __arg_0: &Class) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Debug for Class

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