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