Struct trust_dns_resolver::error::ResolveError
[−]
pub struct ResolveError(pub ResolveErrorKind, pub (Option<Box<Error + Send>>, Arc<Backtrace>));
Methods
impl ResolveError
pub fn kind(&self) -> &ResolveErrorKind
pub fn into_kind(self) -> ResolveErrorKind
pub fn iter(&self) -> ErrorChainIter
pub fn backtrace(&self) -> &Backtrace
Trait Implementations
impl Debug for ResolveError
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
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.
impl<'a> From<&'a str> for ResolveError
impl From<String> for ResolveError
impl Clone for ResolveError[src]
fn clone(&self) -> Self[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl From<ResolveError> for Error[src]
fn from(e: ResolveError) -> Self[src]
Performs the conversion.