Struct trust_dns_resolver::error::ResolveError
[−]
pub struct ResolveError(pub ResolveErrorKind, pub (Option<Box<Error + Send>>, Arc<Backtrace>));
Methods
impl ResolveError
fn kind(&self) -> &ResolveErrorKind
fn into_kind(self) -> ResolveErrorKind
fn iter(&self) -> ErrorChainIter
fn backtrace(&self) -> &Backtrace
Trait Implementations
impl Debug for ResolveError
impl Error for ResolveError
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
impl Display for ResolveError
impl From<ProtoError> for ResolveError
fn from(e: ProtoError) -> Self
Performs the conversion.
impl From<Error> for ResolveError
impl From<ResolveErrorKind> for ResolveError
fn from(e: ResolveErrorKind) -> Self
Performs the conversion.