pub enum RunStatus {
Running,
Succeeded,
Failed,
TimedOut,
Halted,
Interrupted,
}Expand description
How a run ended, or that it has not.
halted is deliberately distinct from failed: a rail stopping work — Hops, Fuel, the
run cap or the Reserve — is the system doing its job, and colouring it like a crash
teaches people to ignore the colour. interrupted means the run was alive when the Tower
went away; it is recoverable, and recovery starts a new run rather than resuming this one.
There is no stalled here. Stalling is something an itinerary does when it parks at a
barrier that never releases; a run either finishes or does not.
Variants§
Running
running
Succeeded
succeeded
Failed
failed
TimedOut
timed_out
Halted
halted
Interrupted
interrupted
Trait Implementations§
impl Copy for RunStatus
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