pub trait AnyhowWrap {
    type Value;

    // Required method
    fn map_err_anyhow(self) -> Result<Self::Value>;
}
Expand description

Some Result<> types don’t convert to anyhow::Result nicely. Force them through stringification.

Required Associated Types§

Required Methods§

source

fn map_err_anyhow(self) -> Result<Self::Value>

Implementations on Foreign Types§

source§

impl<T, E: Debug> AnyhowWrap for Result<T, E>

§

type Value = T

source§

fn map_err_anyhow(self) -> Result<Self::Value>

Implementors§