Enum dns_parser::ResponseCode [−]
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 Debug for ResponseCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ResponseCode
[src]
impl PartialEq for ResponseCode
fn eq(&self, other: &ResponseCode) -> bool
[src]
fn eq(&self, other: &ResponseCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ResponseCode) -> bool
[src]
fn ne(&self, other: &ResponseCode) -> bool
This method tests for !=
.
impl Eq for ResponseCode
[src]
impl Eq for ResponseCode
impl Clone for ResponseCode
[src]
impl Clone for ResponseCode
fn clone(&self) -> ResponseCode
[src]
fn clone(&self) -> ResponseCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for ResponseCode
[src]
impl Copy for ResponseCode
impl Display for ResponseCode
impl Display for ResponseCode
impl Error for ResponseCode
impl Error for ResponseCode
fn description(&self) -> &str
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<u8> for ResponseCode
[src]
impl From<u8> for ResponseCode
fn from(code: u8) -> ResponseCode
[src]
fn from(code: u8) -> ResponseCode
Performs the conversion.
impl Into<u8> for ResponseCode
[src]
impl Into<u8> for ResponseCode
Auto Trait Implementations
impl Send for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Sync for ResponseCode