Module orchestrator::executor
source · Expand description
This module contains the definition of executor and States
Enums§
- Type that represent all error that a generic executor could trigger
Traits§
- Add Executor Trait
- Some implementations require async in order to generate a Default object. This trait is a wrapper around standard Default trait, and extends it automatically.
- This trait is implemented for a State managable by the orchestrator. It is strongly advises to using the provided macro to generate it
- it’s an auto trait. It it has all the requirements it will be used
Type Aliases§
- Type definition to simplify additional types: An exectutor is a function that takes a source code as input and returns an ExecutorFuture. This type boesx that function.
- Type definition to simplify additional types: It is dynamic Future that return a state or an boxed error.