[][src]Trait error_context::WithContext

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

Add context to object

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

impl<E, C> WithContext<C> for ErrorNoContext<E>[src]

type ContextError = ErrorContext<E, C>

impl<E, C, C2> WithContext<C2> for ErrorContext<E, C>[src]

type ContextError = ErrorContext<ErrorContext<E, C>, C2>

Loading content...