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

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

Represents an error in decoding a DNS message.

Variants

ExtraneousData

Extraneous data encountered at the end of message

ShortMessage

Message end was encountered before expected

InvalidMessage

Unable to decode invalid data

InvalidName

An invalid name was encountered

Trait Implementations

impl Display for DecodeError

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

Derived Implementations

impl PartialEq for DecodeError

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

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Eq for DecodeError

impl Debug for DecodeError

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

impl Clone for DecodeError

fn clone(&self) -> DecodeError

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

impl Copy for DecodeError