pub struct SmartModuleChainInstance { /* private fields */ }Expand description
SmartModule Chain Instance that can be executed
Implementations§
source§impl SmartModuleChainInstance
impl SmartModuleChainInstance
sourcepub fn process(
&mut self,
input: SmartModuleInput,
metric: &SmartModuleChainMetrics
) -> Result<SmartModuleOutput>
pub fn process( &mut self, input: SmartModuleInput, metric: &SmartModuleChainMetrics ) -> Result<SmartModuleOutput>
A single record is processed thru all smartmodules in the chain. The output of one smartmodule is the input of the next smartmodule. A single record may result in multiple records. The output of the last smartmodule is added to the output of the chain.