pub fn chain<C, F>(mut self, op: F) -> Self
    where
        C: ErrorContext,
        F: FnOnce() -> C,
    {
        self.inner.context.push(Box::new(op()));
        self
    }
/// Add context to ChainedError by closure.
///
/// It's more useful to use [chain_err](trait.ResultExt.html#tymethod.chain_err).
Add context to ChainedError by closure.
Add context to ChainedError by closure .
pub fn chain<C, F>(mut self, op: F) -> Self
    where
        C: ErrorContext,
        F: FnOnce() -> C,
    {
        self.inner.context.push(Box::new(op()));
        self
    }
pub fn chain < C , F > ( mut self , op : F ) -> Self where C : ErrorContext , F : FnOnce ( ) -> C , { self . inner . context . push ( Box :: new ( op ( ) ) ) ; self }
Add context to ChainedError by closure.
Add context to ChainedError by closure .
mut self
op
F