pub enum RunStatus {
Done,
Interrupted,
Failed {
error: String,
},
}Expand description
How a run terminated, from the evaluator’s point of view.
Variants§
Done
Routing reached the end; final_state is the terminal state.
Interrupted
A node interrupted (human-in-the-loop). final_state is the
suspension-point state. An interrupted run has not finished its work;
case runs count it as not passed.
Failed
The executor returned an error. final_state is null — whatever
partial state existed is not trustworthy evidence.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunStatus
impl<'de> Deserialize<'de> for RunStatus
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 RunStatus
impl StructuralPartialEq for RunStatus
Auto Trait Implementations§
impl Freeze for RunStatus
impl RefUnwindSafe for RunStatus
impl Send for RunStatus
impl Sync for RunStatus
impl Unpin for RunStatus
impl UnsafeUnpin for RunStatus
impl UnwindSafe for RunStatus
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