Enum resolve::message::EncodeError
[−]
[src]
pub enum EncodeError {
InvalidName,
TooLong,
}Represents an error in encoding a DNS message.
Variants
InvalidNameA name or label was too long or contained invalid characters
TooLongMessage exceeded given buffer or MESSAGE_LIMIT bytes
Trait Implementations
impl Clone for EncodeError[src]
fn clone(&self) -> EncodeError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
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
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.