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.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".