[][src]Trait melib::error::ResultIntoMeliError

pub trait ResultIntoMeliError<T> {
    fn chain_err_summary<M, F>(self, msg_fn: F) -> Result<T>
    where
        F: Fn() -> M,
        M: Into<Cow<'static, str>>
;
fn chain_err_kind(self, kind: ErrorKind) -> Result<T>; }

Required methods

fn chain_err_summary<M, F>(self, msg_fn: F) -> Result<T> where
    F: Fn() -> M,
    M: Into<Cow<'static, str>>, 

fn chain_err_kind(self, kind: ErrorKind) -> Result<T>

Loading content...

Implementations on Foreign Types

impl<T, I: Into<MeliError>> ResultIntoMeliError<T> for Result<T, I>[src]

Loading content...

Implementors

Loading content...