Enum dns_parser::ResponseCode
[−]
[src]
pub enum ResponseCode { NoError, FormatError, ServerFailure, NameError, NotImplemented, Refused, Reserved(u8), }
The RCODE value according to RFC 1035
Variants
NoError
FormatError
ServerFailure
NameError
NotImplemented
Refused
Reserved(u8)
Trait Implementations
impl Debug for ResponseCode
[src]
impl PartialEq for ResponseCode
[src]
fn eq(&self, __arg_0: &ResponseCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ResponseCode) -> bool
This method tests for !=
.
impl Eq for ResponseCode
[src]
impl Clone for ResponseCode
[src]
fn clone(&self) -> ResponseCode
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 Copy for ResponseCode
[src]
impl From<u8> for ResponseCode
[src]
fn from(code: u8) -> ResponseCode
Performs the conversion.