Enum dns_parser::Opcode [−][src]
pub enum Opcode { StandardQuery, InverseQuery, ServerStatusRequest, Reserved(u16), }
The OPCODE value according to RFC 1035
Variants
StandardQuery
Normal query
InverseQuery
Inverse query (query a name by IP)
ServerStatusRequest
Server status request
Reserved(u16)
Reserved opcode for future use
Trait Implementations
impl Debug for Opcode
[src]
impl Debug for Opcode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Opcode
[src]
impl PartialEq for Opcode
fn eq(&self, other: &Opcode) -> bool
[src]
fn eq(&self, other: &Opcode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Opcode) -> bool
[src]
fn ne(&self, other: &Opcode) -> bool
This method tests for !=
.
impl Eq for Opcode
[src]
impl Eq for Opcode
impl Clone for Opcode
[src]
impl Clone for Opcode
fn clone(&self) -> Opcode
[src]
fn clone(&self) -> Opcode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Opcode
[src]
impl Copy for Opcode
impl From<u16> for Opcode
[src]
impl From<u16> for Opcode
impl Into<u16> for Opcode
[src]
impl Into<u16> for Opcode