[][src]Trait errer::IntoErrorContext

pub trait IntoErrorContext<Context, Target> {
    fn into_target(self, ctx: Context) -> Target;
}

A trait that takes a context + self to produce a target. This is useful for errors that depend on a context, or when used to generate errors from a context and error (see: ErrorContext).

Required methods

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

Loading content...

Implementors

Loading content...