Trait trust_dns::error::EncodeChainErr []

pub trait EncodeChainErr<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>

Implementors