[]Trait compose_yml::errors::ChainErr

pub trait ChainErr<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>, 

Loading content...

Implementations on Foreign Types

impl<T, E> ChainErr<T> for Result<T, E> where
    E: Error + Send + 'static, 

Loading content...

Implementors

Loading content...