Enum dns_parser::Opcode[][src]

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

The OPCODE value according to RFC 1035

Variants

Normal query

Inverse query (query a name by IP)

Server status request

Reserved opcode for future use

Trait Implementations

impl Debug for Opcode
[src]

Formats the value using the given formatter. Read more

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.

Auto Trait Implementations

impl Send for Opcode

impl Sync for Opcode