pub enum RunState {
Running,
WaitingHuman,
Yellow {
at: Timestamp,
},
Green {
at: Timestamp,
},
Red {
at: Timestamp,
},
Error {
at: Timestamp,
error: Option<String>,
},
Incomplete {
at: Timestamp,
error: Option<String>,
},
}Expand description
Run completion data exists only in a finished lifecycle state.
Variants§
Running
WaitingHuman
Still open: a sign-off was requested, and the Run ends once nothing but unclaimed sign-offs is left for its idle grace.
Yellow
Ended with every result but its sign-offs GREEN and a sign-off unsubmitted.
Green
Red
Error
Incomplete
Implementations§
Trait Implementations§
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