Enum rotor_dns::Error []

pub enum Error {
    QueryIsTooLong,
}

Variants

QueryIsTooLong

The query when serialized is just too long to fit 512 bytes

I'm not sure how is this possible, unless you have supplied an invalid name (valid name has length < 253 bytes)

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error

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

Formats the value using the given formatter.

impl Error for Error

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more