Struct trust_dns_resolver::error::ResolveError
source · pub struct ResolveError { /* private fields */ }
Expand description
The error type for errors that get returned in the crate
Implementations
sourceimpl ResolveError
impl ResolveError
sourcepub fn kind(&self) -> &ResolveErrorKind
pub fn kind(&self) -> &ResolveErrorKind
Get the kind of the error
Trait Implementations
sourceimpl Clone for ResolveError
impl Clone for ResolveError
sourceimpl Debug for ResolveError
impl Debug for ResolveError
sourceimpl Display for ResolveError
impl Display for ResolveError
sourceimpl Fail for ResolveError
impl Fail for ResolveError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<&'static str> for ResolveError
impl From<&'static str> for ResolveError
sourcefn from(msg: &'static str) -> ResolveError
fn from(msg: &'static str) -> ResolveError
Converts to this type from the input type.
sourceimpl From<Context<ResolveErrorKind>> for ResolveError
impl From<Context<ResolveErrorKind>> for ResolveError
sourcefn from(inner: Context<ResolveErrorKind>) -> ResolveError
fn from(inner: Context<ResolveErrorKind>) -> ResolveError
Converts to this type from the input type.
sourceimpl From<Error> for ResolveError
impl From<Error> for ResolveError
sourcefn from(e: Error) -> ResolveError
fn from(e: Error) -> ResolveError
Converts to this type from the input type.
sourceimpl From<ProtoError> for ResolveError
impl From<ProtoError> for ResolveError
sourcefn from(e: ProtoError) -> ResolveError
fn from(e: ProtoError) -> ResolveError
Converts to this type from the input type.
sourceimpl From<ResolveError> for Error
impl From<ResolveError> for Error
sourcefn from(e: ResolveError) -> Self
fn from(e: ResolveError) -> Self
Converts to this type from the input type.
sourceimpl From<ResolveErrorKind> for ResolveError
impl From<ResolveErrorKind> for ResolveError
sourcefn from(kind: ResolveErrorKind) -> ResolveError
fn from(kind: ResolveErrorKind) -> ResolveError
Converts to this type from the input type.
sourceimpl From<String> for ResolveError
impl From<String> for ResolveError
sourcefn from(msg: String) -> ResolveError
fn from(msg: String) -> ResolveError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl !UnwindSafe for ResolveError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more