pub trait AsyncStepRunner<R>
where Self: Sized + Send,
{ // Required method fn run<'async_trait>( self ) -> Pin<Box<dyn Future<Output = R> + Send + 'async_trait>> where Self: 'async_trait; }
Expand description

A trait for running asynchronous tasks and returning a result.

Required Methods§

source

fn run<'async_trait>( self ) -> Pin<Box<dyn Future<Output = R> + Send + 'async_trait>>
where Self: 'async_trait,

Executes the asynchronous task and returns the result.

Object Safety§

This trait is not object safe.

Implementors§