Enum dns_parser::ResponseCode[]

pub enum ResponseCode {
    NoError,
    FormatError,
    ServerFailure,
    NameError,
    NotImplemented,
    Refused,
    Reserved(u8),
}

The RCODE value according to RFC 1035

Variants

Trait Implementations

impl Debug for ResponseCode
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ResponseCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ResponseCode
[src]

impl Clone for ResponseCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResponseCode
[src]

impl Display for ResponseCode

Formats the value using the given formatter. Read more

impl Error for ResponseCode

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<u8> for ResponseCode
[src]

Performs the conversion.

impl Into<u8> for ResponseCode
[src]

Performs the conversion.

Auto Trait Implementations