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