Enum simple_dns::OPCODE
source · [−]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
StandardQuery
Normal query
InverseQuery
Inverse query (query a name by IP)
ServerStatusRequest
Server status request
Reserved
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