#[non_exhaustive]pub enum RunState {
Queued,
Working,
Blocked,
Stalled,
Parked,
Quarantined,
Held,
Verifying,
Done,
Failed,
Abandoned,
}Expand description
The lifecycle state shown for an agent Run: the state of the Mission it serves.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Queued
The Mission is queued for another run; this Run will not run again.
Working
The agent operation is running.
Blocked
The operation is waiting on an external condition.
Stalled
The operation stopped reporting progress.
Parked
A provider usage limit paused the operation until its quota resets.
Quarantined
Medical stopped the operation because its Agent is quarantined; only an operator releases it.
Held
The operation ended done with something its role requires missing; a person’s verdict settles it.
Verifying
The operation ended done; whether the Mission is done waits on someone checking what it was to deliver.
Done
The operation finished.
Failed
The agent operation exited unsuccessfully.
Abandoned
An operator or AI6 withdrew the Mission.
Implementations§
Trait Implementations§
impl Copy for RunState
impl Eq for RunState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.