Enum resolve::message::EncodeError [] [src]

pub enum EncodeError {
    InvalidName,
    TooLong,
}

Represents an error in encoding a DNS message.

Variants

A name or label was too long or contained invalid characters

Message exceeded given buffer or MESSAGE_LIMIT bytes

Trait Implementations

impl Clone for EncodeError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EncodeError
[src]

[src]

Formats the value using the given formatter.

impl Eq for EncodeError
[src]

impl PartialEq for EncodeError
[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 EncodeError
[src]

[src]

Formats the value using the given formatter. Read more