pub enum RunPhase {
Running,
Succeeded,
Failed,
Stopped,
}Expand description
Where a helper run stands.
Variants§
Running
Succeeded
Its own end record says it did the work.
Failed
It ended without doing the work: an error, a typed failure.
Stopped
It ended before the work was done: it stopped short by its own typed verdict, was cancelled, or made no progress for its limit.
Implementations§
Source§impl RunPhase
impl RunPhase
pub fn is_terminal(self) -> bool
Sourcepub fn helper_headline(self, background: bool) -> &'static str
pub fn helper_headline(self, background: bool) -> &'static str
A helper’s header on its card: a background helper’s says so, one the turn waits on reads as part of the turn’s work.
Trait Implementations§
impl Copy for RunPhase
impl Eq for RunPhase
impl StructuralPartialEq for RunPhase
Auto Trait Implementations§
impl Forget for RunPhase
impl Freeze for RunPhase
impl Move for RunPhase
impl RefUnwindSafe for RunPhase
impl Send for RunPhase
impl Sync for RunPhase
impl Unpin for RunPhase
impl UnsafeUnpin for RunPhase
impl UnwindSafe for RunPhase
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