pub trait InferenceStep {
type Input: Send + 'static;
type Output: ItemLazy + 'static;
// Required method
fn step(&self, item: Self::Input) -> Self::Output;
}Expand description
Trait to be implemented for validating models.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".