pub trait EffectHandler<'ctx> {
// Required method
fn execute(
&mut self,
effect: Effect,
ctx: &mut PhaseContext<'_>,
) -> Result<PipelineEvent>;
}Expand description
Trait for executing effects.
This trait allows mocking in tests by providing alternative implementations.