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

Trigger

cloacina-workflow::trigger Rust

Trigger types for workflow authoring.

These types are used by #[trigger] macro-generated code. The full Trigger trait lives in cloacina (runtime crate).

Enums

cloacina-workflow::trigger::TriggerResult pub

Result of a trigger poll operation.

Variants

  • Skip - Do not fire the workflow, continue polling on the next interval.
  • Fire - Fire the workflow with an optional context.

cloacina-workflow::trigger::TriggerError pub

Errors that can occur during trigger polling.

Variants

  • PollError - Error during trigger polling
  • ContextError - Context creation error