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

Trait Implementations

impl From<u8> for ResponseCode

fn from(code: u8) -> ResponseCode

impl Into<u8> for ResponseCode

fn into(self) -> u8

Derived Implementations

impl Copy for ResponseCode

impl Clone for ResponseCode

fn clone(&self) -> ResponseCode

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for ResponseCode

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ResponseCode

fn eq(&self, __arg_0: &ResponseCode) -> bool

fn ne(&self, __arg_0: &ResponseCode) -> bool

impl Debug for ResponseCode

fn fmt(&self, __arg_0: &mut Formatter) -> Result