[][src]Trait errer::ErrorContext

pub trait ErrorContext<Context, Target> {
    fn context(self, ctx: Context) -> Target;
fn context_with<F: Fn() -> Context>(self, ctx: F) -> Target; }

Reverse implemented for Result<T, E> where E: IntoErrorContext

Required methods

fn context(self, ctx: Context) -> Target

fn context_with<F: Fn() -> Context>(self, ctx: F) -> Target

Loading content...

Implementations on Foreign Types

impl<Context, Target, T, E: IntoErrorContext<Context, Target>> ErrorContext<E, Result<T, Target>> for Result<T, Context>[src]

Loading content...

Implementors

Loading content...