Enum domain::resolv::error::Error[][src]

pub enum Error {
    Question(ComposeError),
    Timeout,
    NoName,
    NoSecureAnswers,
    AllBogusAnswers,
    Io(Error),
}

An error happened during a query.

Variants

The question was broken.

All queries timed out.

All responses for a query were negative.

At least one response was received but none was secure.

At least one response was received but all were bogus.

An IO error stopped queries from succeeding at all.

Methods

impl Error
[src]

Finds the most appropriate error for two failed queries.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

impl From<Rcode> for Error
[src]

Performs the conversion.

impl From<ComposeError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ParseError> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error