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 Copy for DecodeError
[src]
impl Clone for DecodeError
[src]
fn clone(&self) -> DecodeError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DecodeError
[src]
impl Eq for DecodeError
[src]
impl PartialEq for DecodeError
[src]
fn eq(&self, __arg_0: &DecodeError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.