Enum dns_parser::enums::Opcode [] [src]

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

The OPCODE value according to RFC 1035

Variants

StandardQuery
InverseQuery
ServerStatusRequest
Reserved

Trait Implementations

impl From<u16> for Opcode

fn from(code: u16) -> Opcode

impl Into<u16> for Opcode

fn into(self) -> u16

Derived Implementations

impl Copy for Opcode

impl Clone for Opcode

fn clone(&self) -> Opcode

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

impl Eq for Opcode

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Opcode

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

fn ne(&self, __arg_0: &Opcode) -> bool

impl Debug for Opcode

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