pub trait Runner: Send + Sync {
// Required methods
fn capability(&self) -> &'static str;
fn run<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: TaskCtx<'life1>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Runner entrypoint.
Required Methods§
Sourcefn capability(&self) -> &'static str
fn capability(&self) -> &'static str
Capability string this runner implements (e.g., “/reconstruction/legacy/v1”).