pub trait Processor<K, I, O = (), E = String>where
E: Display,{
// Required method
fn process(
&self,
key: K,
inputs: impl Iterator<Item = I> + Send,
) -> impl Future<Output = Result<Vec<O>, E>> + Send;
}Expand description
Process a batch of inputs for a given key.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.