pub trait TryTask<'a>: Debug {
type Inputs: Tuple;
type Ok: IntoAny;
type Err: 'a;
type Future: Future<Output = Result<Self::Ok, Self::Err>> + Send + 'a;
fn run(self, inputs: Self::Inputs) -> Self::Future;
}Expand description
An async task.