Skip to main content

Module types

Module types 

Source
Expand description

Shared type definitions re-exported at the crate root.

Modules§

workflow

Structs§

ActivitySettlement
The writes that must land together when an activity reaches a terminal state: the activity row, the history event a replaying workflow reads, and the dispatch arming that wakes the workflow. Passed to crate::store::WorkflowStore::settle_activity, which applies all three in one transaction.
NamespaceRecord
Namespace record.
NamespaceStats
Namespace-level statistics.
QueueStats
Task queue statistics.
RetriedActivity
ScheduleActivityOpts
Options for scheduling an activity. All fields default to sensible values when not provided by the caller; this keeps the per-call API short while still letting workflows tune retry/timeout policy when they need to.
SchedulePatch
Partial update to a WorkflowSchedule. Only fields set to Some are applied; None leaves the existing value untouched. Used by PATCH /api/v1/schedules/{name}.
WorkflowActivity
WorkflowEvent
WorkflowRecord
WorkflowSchedule
WorkflowSignal
WorkflowSnapshot
WorkflowTimer
WorkflowWorker

Enums§

ActivityStatus
EventType
OverlapPolicy
RetryFailedActivityResult
SettleOutcome
What crate::store::WorkflowStore::settle_activity found and did.
WorkflowStatus