#[non_exhaustive]pub enum PublicState {
Waiting,
Delayed,
RateLimited,
WaitingChildren,
Active,
Suspended,
Resumable,
Completed,
Failed,
Cancelled,
Expired,
Skipped,
}Expand description
Engine-computed user-facing label. Derived from the state vector.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Waiting
Eligible and waiting for a worker to claim.
Delayed
Not yet eligible due to time-based delay.
RateLimited
Blocked by budget, quota, or rate-limit policy.
WaitingChildren
Blocked on child/dependency executions.
Active
Currently being processed by a worker.
Suspended
Intentionally paused, waiting for signal/approval/callback.
Resumable
Suspension signal satisfied — awaiting claim_resumed to start
the next attempt. Transient state between Suspended and
Active; emitted by the Postgres suspend_signal path (and the
Valkey equivalent via ff_deliver_signal when the waitpoint
fires). See ff-backend-postgres::suspend_ops.
Completed
Terminal: finished successfully.
Failed
Terminal: finished unsuccessfully.
Cancelled
Terminal: intentionally terminated.
Expired
Terminal: deadline/TTL elapsed.
Skipped
Terminal: impossible to run because required dependency failed.
Implementations§
Trait Implementations§
Source§impl Clone for PublicState
impl Clone for PublicState
Source§fn clone(&self) -> PublicState
fn clone(&self) -> PublicState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more