Skip to main content

EnrichService

Trait EnrichService 

Source
pub trait EnrichService<I, E, T> {
    // Required method
    fn enrich(
        &self,
        ctx: &mut dyn ExecutionContext<T>,
        input: &I,
    ) -> Result<E, BrddError>;
}
Expand description

Protocol for services that fetch additional data needed for the UseCase.

Required Methods§

Source

fn enrich( &self, ctx: &mut dyn ExecutionContext<T>, input: &I, ) -> Result<E, BrddError>

Implementors§