Trait WrapContext

Source
pub trait WrapContext<C> {
    type ContextError;

    // Required method
    fn wrap_context(self, context: C) -> Self::ContextError;
}
Expand description

Wrap value in type with context information

Required Associated Types§

Required Methods§

Source

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

Implementors§

Source§

impl<E, C> WrapContext<C> for E