pub struct ResolveError { /* private fields */ }Expand description
The error type for errors that get returned in the crate
Implementations§
Source§impl ResolveError
impl ResolveError
Sourcepub fn kind(&self) -> &ResolveErrorKind
pub fn kind(&self) -> &ResolveErrorKind
Get the kind of the error
Trait Implementations§
Source§impl Clone for ResolveError
impl Clone for ResolveError
Source§fn clone(&self) -> ResolveError
fn clone(&self) -> ResolveError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolveError
impl Debug for ResolveError
Source§impl Display for ResolveError
impl Display for ResolveError
Source§impl Fail for ResolveError
impl Fail for ResolveError
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<&'static str> for ResolveError
impl From<&'static str> for ResolveError
Source§fn from(msg: &'static str) -> ResolveError
fn from(msg: &'static str) -> ResolveError
Converts to this type from the input type.
Source§impl From<Context<ResolveErrorKind>> for ResolveError
impl From<Context<ResolveErrorKind>> for ResolveError
Source§fn from(inner: Context<ResolveErrorKind>) -> ResolveError
fn from(inner: Context<ResolveErrorKind>) -> ResolveError
Converts to this type from the input type.
Source§impl From<Error> for ResolveError
impl From<Error> for ResolveError
Source§fn from(e: Error) -> ResolveError
fn from(e: Error) -> ResolveError
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for ResolveError
impl<T> From<PoisonError<T>> for ResolveError
Source§fn from(e: PoisonError<T>) -> ResolveError
fn from(e: PoisonError<T>) -> ResolveError
Converts to this type from the input type.
Source§impl From<ProtoError> for ResolveError
impl From<ProtoError> for ResolveError
Source§fn from(e: ProtoError) -> ResolveError
fn from(e: ProtoError) -> ResolveError
Converts to this type from the input type.
Source§impl From<ResolveError> for ConnectError
impl From<ResolveError> for ConnectError
Source§fn from(original: ResolveError) -> ConnectError
fn from(original: ResolveError) -> ConnectError
Converts to this type from the input type.
Source§impl From<ResolveErrorKind> for ResolveError
impl From<ResolveErrorKind> for ResolveError
Source§fn from(kind: ResolveErrorKind) -> ResolveError
fn from(kind: ResolveErrorKind) -> ResolveError
Converts to this type from the input type.
Source§impl From<String> for ResolveError
impl From<String> for ResolveError
Source§fn from(msg: String) -> ResolveError
fn from(msg: String) -> ResolveError
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for ResolveError
impl !RefUnwindSafe for ResolveError
impl Send for ResolveError
impl Sync for ResolveError
impl Unpin for ResolveError
impl UnsafeUnpin for ResolveError
impl !UnwindSafe for ResolveError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more