Enum dns_parser_joe::Opcode [] [src]

pub enum Opcode {
    StandardQuery,
    InverseQuery,
    ServerStatusRequest,
    Reserved(u16),
}

The OPCODE value according to RFC 1035

Variants

Trait Implementations

impl Debug for Opcode
[src]

Formats the value using the given formatter.

impl PartialEq for Opcode
[src]

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

This method tests for !=.

impl Eq for Opcode
[src]

impl Clone for Opcode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Opcode
[src]

impl From<u16> for Opcode
[src]

Performs the conversion.

impl Into<u16> for Opcode
[src]

Performs the conversion.