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 Display for EncodeError

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

Derived Implementations

impl PartialEq for EncodeError

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

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

impl Eq for EncodeError

impl Debug for EncodeError

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

impl Clone for EncodeError

fn clone(&self) -> EncodeError

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