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