Enum resolve::message::EncodeError
[−]
[src]
pub enum EncodeError { InvalidName, TooLong, }
Represents an error in encoding a DNS message.
Variants
InvalidName
A name or label was too long or contained invalid characters
TooLong
Message exceeded given buffer or MESSAGE_LIMIT
bytes
Trait Implementations
impl Clone for EncodeError
[src]
fn clone(&self) -> EncodeError
[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 EncodeError
[src]
impl Eq for EncodeError
[src]
impl PartialEq for EncodeError
[src]
fn eq(&self, __arg_0: &EncodeError) -> 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 !=
.