pub trait Classifier: Send + Sync {
// Required method
fn classify(&self, input: &ClassifyInput) -> Result<ClassifyOutput>;
}Required Methods§
fn classify(&self, input: &ClassifyInput) -> Result<ClassifyOutput>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".