pub trait ChainErrCompatExt<T> {
    // Required method
    fn chain_err<F, K>(self, chainer: F) -> Result<T>
       where F: FnOnce() -> K,
             K: Into<ErrorKind>;
}
Expand description

chain_err compatibility between our old and new error types

Required Methods§

source

fn chain_err<F, K>(self, chainer: F) -> Result<T>
where F: FnOnce() -> K, K: Into<ErrorKind>,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> ChainErrCompatExt<T> for Result<T, Error>

source§

fn chain_err<F, K>(self, chainer: F) -> Result<T>
where F: FnOnce() -> K, K: Into<ErrorKind>,

Implementors§