pub trait PreprocessingStep:
Debug
+ Send
+ Sync {
// Required methods
fn process(&self, text: &str) -> Result<String>;
fn name(&self) -> &str;
}Expand description
Trait for custom preprocessing steps
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".