Expand description
Executor handler trait and related types for attempt-level execution.
This module defines the ExecutorHandler trait that implementations must
fulfill to execute attempts. The handler receives an ExecutorContext
containing execution identity, payload, metadata, and optional workflow
extensions (submission channel and children snapshot).
Re-exports§
pub use cancellation::CancellationContext;pub use cancellation::CancellationToken;
Modules§
- cancellation
- Cancellation mechanism for attempt execution.
Structs§
- Attempt
Metadata - Attempt-level execution metadata derived from task constraints.
- Executor
Context - Full execution context provided to a handler for each attempt.
- Handler
Input - Execution context provided to the handler for each attempt.
Enums§
- Handler
Output - Outcome of an attempt execution.
Traits§
- Executor
Handler - Trait for executor implementations to fulfill for attempt execution.
- Task
Submission Port - Abstract port through which a handler can propose new child tasks.