pub trait EdgeProcessor:
Debug
+ Send
+ Sync {
type Input;
type Output;
// Required methods
fn process(&self, input: Self::Input) -> Result<Self::Output, OCRError>;
fn name(&self) -> &str;
}Expand description
Trait for processors that transform data between task nodes.