pub struct BackgroundRunSnapshot {
pub run_id: String,
pub command: String,
pub elapsed_ms: u64,
}Expand description
Lightweight snapshot of a single in-flight background shell run.
Produced by super::ShellExecutor::background_runs_snapshot and consumed
by the TUI resources panel and the metrics snapshot update path.
Fields§
§run_id: StringOpaque run identifier, encoded as a 32-character lowercase hex string.
command: StringOriginal command string, already stored on the handle.
elapsed_ms: u64Wall-clock milliseconds since spawn.
Trait Implementations§
Source§impl Clone for BackgroundRunSnapshot
impl Clone for BackgroundRunSnapshot
Source§fn clone(&self) -> BackgroundRunSnapshot
fn clone(&self) -> BackgroundRunSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BackgroundRunSnapshot
impl RefUnwindSafe for BackgroundRunSnapshot
impl Send for BackgroundRunSnapshot
impl Sync for BackgroundRunSnapshot
impl Unpin for BackgroundRunSnapshot
impl UnsafeUnpin for BackgroundRunSnapshot
impl UnwindSafe for BackgroundRunSnapshot
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