pub enum RunState {
Working,
Waiting,
Failed,
Interrupted,
Completed,
}Expand description
Where a run stands according to its last recorded transition.
This is lifecycle truth only. Whether anything has been heard from the run lately is a
separate, derived question (see ObservedStatus), so silence never edits this state.
Variants§
Working
The executor is working.
Waiting
The executor waits for input, approval or another party.
Failed
The run ended without completing its work.
Interrupted
The run was stopped before it finished.
Completed
The executor finished. The work is unchanged: submission and verification are separate.
Implementations§
Trait Implementations§
impl Copy for RunState
Source§impl<'de> Deserialize<'de> for RunState
impl<'de> Deserialize<'de> for RunState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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