pub enum RunState {
Claimed,
Running,
Driving,
Aborted,
Merged,
Failed,
NeedsReview,
Cancelled,
RateLimited,
Orphaned,
}Expand description
Every value the runs.state column can hold.
Variants§
Claimed
Running
A supervised agent process is alive for the run’s current stage.
Driving
The run’s driver holds it, with no agent process of its own to identify: it is between stages, or executing one the daemon runs itself. The driver is then the run’s liveness evidence.
Aborted
A claim rolled back before a process existed.
Merged
Failed
NeedsReview
Cancelled
RateLimited
Orphaned
Implementations§
Trait Implementations§
impl Copy for RunState
impl Eq for RunState
Source§impl FromSql for RunState
impl FromSql for RunState
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl StructuralPartialEq for RunState
Auto Trait Implementations§
impl Freeze for RunState
impl RefUnwindSafe for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnsafeUnpin for RunState
impl UnwindSafe for RunState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.