Trait WithContext

Source
pub trait WithContext<C> {
    type ContextError;

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

Add context to object

Required Associated Types§

Required Methods§

Source

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

Implementors§