Expand description
Task factory and service adapter types.
This module owns the public task construction contract. Every call to
TaskFactory::build must create a fresh future for one attempt.
Structs§
- Service
Fn - Concrete service adapter returned by
service_fn.
Enums§
- Task
Result - Result produced by a supervised task attempt.
Traits§
- Service
- Service adapter that can be converted into a
TaskFactory. - Task
Factory - Factory that creates a fresh task future for each attempt.
Functions§
- service_
fn - Creates a service from a function or closure.
Type Aliases§
- BoxTask
Future - Boxed task future returned by task factories.