pub struct ShellStatusInfo {
pub running: bool,
pub exit_code: Option<i32>,
pub line_count: u64,
pub block_id: String,
pub cmd: String,
pub title: String,
pub started_at: u64,
pub tail: Option<Arc<Mutex<VecDeque<String>>>>,
pub tail_clipped: bool,
pub captured: Vec<String>,
pub withheld: Option<String>,
}Expand description
Live status of a running (or recently exited) shell. Updated by
ShellNodeRunner as output arrives and on exit.
block_id/cmd/title/started_at are populated once at spawn (see
ShellNodeRunner::run) and never change — kept here (rather than a
separate lookup) so list_active (SPEC_SWARM_LONG_RUNNING_PROCESS_
ROWS_2026_07_20) can answer “which shells belong to block X” from the
same map get_status/ShellStatus already query, with no new registry
or second source of truth.
Fields§
§running: bool§exit_code: Option<i32>§line_count: u64§block_id: String§cmd: String§title: String§started_at: u64§tail: Option<Arc<Mutex<VecDeque<String>>>>The last lines of a job that was given Vault secrets, already cleaned of them: kept only for such a job, so the agent that ran it can read the result.
tail_clipped: boolA line of tail was cut to the per-line limit: the output is not whole.
captured: Vec<String>The entries a capture stored, once the job ended.
withheld: Option<String>Why a capture failed, and so why the output was withheld.
Trait Implementations§
Source§impl Clone for ShellStatusInfo
impl Clone for ShellStatusInfo
Source§fn clone(&self) -> ShellStatusInfo
fn clone(&self) -> ShellStatusInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ShellStatusInfo
impl Default for ShellStatusInfo
Source§fn default() -> ShellStatusInfo
fn default() -> ShellStatusInfo
Auto Trait Implementations§
impl !RefUnwindSafe for ShellStatusInfo
impl !UnwindSafe for ShellStatusInfo
impl Freeze for ShellStatusInfo
impl Send for ShellStatusInfo
impl Sync for ShellStatusInfo
impl Unpin for ShellStatusInfo
impl UnsafeUnpin for ShellStatusInfo
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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