pub struct RunProgress {
pub run: u64,
pub total: Option<u64>,
pub next_at: Option<Instant>,
}Expand description
Where a repeating command is, for a screen that draws it.
It is not output. It never reaches the pane text, the copy or the journal. Only the command writes it; the TUI reads it.
Fields§
§run: u64The run that is in progress or just ended. 0 before the first.
total: Option<u64>How many runs the command will make, when it is known.
next_at: Option<Instant>When the next run starts. None while a run is in progress.
Trait Implementations§
Source§impl Clone for RunProgress
impl Clone for RunProgress
Source§impl Debug for RunProgress
impl Debug for RunProgress
Auto Trait Implementations§
impl Freeze for RunProgress
impl RefUnwindSafe for RunProgress
impl Send for RunProgress
impl Sync for RunProgress
impl Unpin for RunProgress
impl UnsafeUnpin for RunProgress
impl UnwindSafe for RunProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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