Trait trust_dns_resolver::error::ResolveChainErr [−]
pub trait ResolveChainErr<T> { fn chain_err<F, EK>(self, callback: F) -> Result<T, ResolveError>
where
F: FnOnce() -> EK,
EK: Into<ResolveErrorKind>; }
Required Methods
fn chain_err<F, EK>(self, callback: F) -> Result<T, ResolveError> where
F: FnOnce() -> EK,
EK: Into<ResolveErrorKind>,
F: FnOnce() -> EK,
EK: Into<ResolveErrorKind>,
Implementations on Foreign Types
impl<T, E> ResolveChainErr<T> for Result<T, E> where
E: Error + Send + 'static,
impl<T, E> ResolveChainErr<T> for Result<T, E> where
E: Error + Send + 'static,
fn chain_err<F, EK>(self, callback: F) -> Result<T, ResolveError> where
F: FnOnce() -> EK,
EK: Into<ResolveErrorKind>,
fn chain_err<F, EK>(self, callback: F) -> Result<T, ResolveError> where
F: FnOnce() -> EK,
EK: Into<ResolveErrorKind>,