pub trait WithContext<C> {
type ContextError;
// Required method
fn with_context(self, context: C) -> Self::ContextError;
}
Expand description
Add context to object
pub trait WithContext<C> {
type ContextError;
// Required method
fn with_context(self, context: C) -> Self::ContextError;
}
Add context to object