[][src]Trait error_context::WrapContext

pub trait WrapContext<C> {
    type ContextError;
    fn wrap_context(self, context: C) -> Self::ContextError;
}

Wrap value in type with context information

Associated Types

Loading content...

Required methods

fn wrap_context(self, context: C) -> Self::ContextError

Loading content...

Implementors

impl<E, C> WrapContext<C> for E[src]

type ContextError = ErrorContext<E, C>

Loading content...