pub trait Runner: Send + Sync {
type Input: Send;
type Output: Send;
// Required method
fn run<'life0, 'async_trait>(
&'life0 self,
inputs: Vec<Self::Input>,
) -> Pin<Box<dyn Future<Output = Result<impl ExactSizeIterator, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Required Associated Types§
Required Methods§
fn run<'life0, 'async_trait>(
&'life0 self,
inputs: Vec<Self::Input>,
) -> Pin<Box<dyn Future<Output = Result<impl ExactSizeIterator, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
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.