Enum domain::resolv::error::Error
[−]
[src]
pub enum Error { Question(ComposeError), Timeout, NoName, NoSecureAnswers, AllBogusAnswers, Io(Error), }
An error happened during a query.
Variants
Question(ComposeError)
The question was broken.
Timeout
All queries timed out.
NoName
All responses for a query were negative.
NoSecureAnswers
At least one response was received but none was secure.
AllBogusAnswers
At least one response was received but all were bogus.
Io(Error)
An IO error stopped queries from succeeding at all.
Methods
impl Error
[src]
fn merge(self, other: Self) -> Self
Finds the most appropriate error for two failed queries.
Trait Implementations
impl Debug for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl From<ComposeError> for Error
[src]
fn from(error: ComposeError) -> Error
Performs the conversion.