Struct trust_dns_resolver::error::ResolveError [−]
Methods
impl ResolveError
impl ResolveErrorpub fn kind(&self) -> &ResolveErrorKind
pub fn kind(&self) -> &ResolveErrorKindpub fn into_kind(self) -> ResolveErrorKind
pub fn into_kind(self) -> ResolveErrorKindⓘImportant traits for ErrorChainIter<'a>pub fn iter(&self) -> ErrorChainIter
ⓘImportant traits for ErrorChainIter<'a>
pub fn iter(&self) -> ErrorChainIterpub fn backtrace(&self) -> &Backtrace
pub fn backtrace(&self) -> &BacktraceTrait Implementations
impl Debug for ResolveError
impl Debug for ResolveErrorimpl Error for ResolveError
impl Error for ResolveErrorfn description(&self) -> &str
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for ResolveError
impl Display for ResolveErrorimpl From<ProtoError> for ResolveError
impl From<ProtoError> for ResolveErrorfn from(e: ProtoError) -> Self
fn from(e: ProtoError) -> SelfPerforms the conversion.
impl From<Error> for ResolveError
impl From<Error> for ResolveErrorimpl From<ResolveErrorKind> for ResolveError
impl From<ResolveErrorKind> for ResolveErrorfn from(e: ResolveErrorKind) -> Self
fn from(e: ResolveErrorKind) -> SelfPerforms the conversion.
impl<'a> From<&'a str> for ResolveError
impl<'a> From<&'a str> for ResolveErrorimpl From<String> for ResolveError
impl From<String> for ResolveErrorimpl Clone for ResolveError[src]
impl Clone for ResolveErrorfn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl From<ResolveError> for Error[src]
impl From<ResolveError> for Errorfn from(e: ResolveError) -> Self[src]
fn from(e: ResolveError) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for ResolveError
impl Send for ResolveErrorimpl !Sync for ResolveError
impl !Sync for ResolveError