Enum simple_dns::OPCODE [−][src]
pub enum OPCODE {
StandardQuery,
InverseQuery,
ServerStatusRequest,
Reserved,
}Expand description
Possible OPCODE values for a DNS packet, use to specify the type of operation.
RFC 1035: A four bit field that specifies kind of query in this message.
This value is set by the originator of a query and copied into the response.
Variants
Normal query
Inverse query (query a name by IP)
Server status request
Reserved opcode for future use
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OPCODE
impl UnwindSafe for OPCODE
Blanket Implementations
Mutably borrows from an owned value. Read more