[][src]Trait cargo::util::errors::CargoResultExt

pub trait CargoResultExt<T, E> {
    fn chain_err<F, D>(self, f: F) -> Result<T, Context<D>>
    where
        F: FnOnce() -> D,
        D: Display + Send + Sync + 'static
; }

Required methods

fn chain_err<F, D>(self, f: F) -> Result<T, Context<D>> where
    F: FnOnce() -> D,
    D: Display + Send + Sync + 'static, 

Loading content...

Implementations on Foreign Types

impl<T, E> CargoResultExt<T, E> for Result<T, E> where
    E: Into<Error>, 
[src]

Loading content...

Implementors

Loading content...