Skip to main content
Cloacina Documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Task

cloacina-workflow::task Rust

Enums

cloacina-workflow::task::TaskState pub

Represents the execution state of a task throughout its lifecycle.

Tasks progress through these states during execution, providing visibility into the current status and enabling proper error handling and recovery.

Variants

  • Pending - Task is registered but not yet started
  • Running - Task is currently executing
  • Completed - Task finished successfully
  • Failed - Task encountered an error
  • Skipped - Task was skipped (e.g., trigger rule not satisfied)