Enum dns_parser::Class [] [src]

pub enum Class {
    IN,
    CS,
    CH,
    HS,
}

The CLASS value according to RFC 1035

Variants

the Internet

the CSNET class (Obsolete - used only for examples in some obsolete RFCs)

the CHAOS class

Hesiod [Dyer 87]

Methods

impl Class
[src]

[src]

Parse a class code

Trait Implementations

impl Debug for Class
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Class
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Class
[src]

impl Clone for Class
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Class
[src]