pub struct RunningStep {
pub label: Arc<str>,
pub started_at: Timestamp,
pub shell: bool,
pub interactive: bool,
}Expand description
The step an ActionReceipt is executing right now, present only while its run has not
yet finished (docs/spec/actions.md’s
“The run on screen”: “a running step carries the spinner in the same position the step
number’s outcome will occupy”).
started_at is a real timestamp rather than a stored Duration, so a renderer computes
live elapsed time with Timestamp::elapsed on every draw instead of this value being
rewritten every frame.
Fields§
§label: Arc<str>The step’s argv, rendered for display, the same text StepResult::label carries
once this step finishes.
started_at: Timestamp§shell: boolStepResult::shell’s own claim, carried here too so a running step’s mode is on
screen from the moment it starts rather than only once it finishes.
interactive: boolStepResult::interactive’s own claim, carried here too for the same reason.
Trait Implementations§
Source§impl Clone for RunningStep
impl Clone for RunningStep
Source§fn clone(&self) -> RunningStep
fn clone(&self) -> RunningStep
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RunningStep
impl Debug for RunningStep
impl Eq for RunningStep
Source§impl PartialEq for RunningStep
impl PartialEq for RunningStep
impl StructuralPartialEq for RunningStep
Auto Trait Implementations§
impl Freeze for RunningStep
impl RefUnwindSafe for RunningStep
impl Send for RunningStep
impl Sync for RunningStep
impl Unpin for RunningStep
impl UnsafeUnpin for RunningStep
impl UnwindSafe for RunningStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more