Trait cargo::util::errors::CargoResultExt [−][src]
Required methods
fn chain_err<F, D>(self, f: F) -> Result<T, Context<D>> where
F: FnOnce() -> D,
D: Display + Send + Sync + 'static,
[src]
F: FnOnce() -> D,
D: Display + Send + Sync + 'static,
Implementations on Foreign Types
impl<T, E> CargoResultExt<T, E> for Result<T, E> where
E: Into<Error>,
[src]
E: Into<Error>,
fn chain_err<F, D>(self, f: F) -> Result<T, Context<D>> where
F: FnOnce() -> D,
D: Display + Send + Sync + 'static,
[src]
F: FnOnce() -> D,
D: Display + Send + Sync + 'static,