Enum resolve::message::DecodeError [] [src]

pub enum DecodeError {
    ExtraneousData,
    ShortMessage,
    InvalidMessage,
    InvalidName,
}

Represents an error in decoding a DNS message.

Variants

Extraneous data encountered at the end of message

Message end was encountered before expected

Unable to decode invalid data

An invalid name was encountered

Trait Implementations

impl Copy for DecodeError
[src]

impl Clone for DecodeError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DecodeError
[src]

[src]

Formats the value using the given formatter.

impl Eq for DecodeError
[src]

impl PartialEq for DecodeError
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for DecodeError
[src]

[src]

Formats the value using the given formatter. Read more