#[non_exhaustive]pub struct JobInfo {Show 15 fields
pub version: u32,
pub id: JobId,
pub runtime_boot_id: String,
pub command: Vec<String>,
pub state: JobState,
pub tty: bool,
pub stdin_closed: bool,
pub pid: Option<u32>,
pub created_at: i64,
pub started_at: Option<i64>,
pub finished_at: Option<i64>,
pub exit_code: Option<i32>,
pub failure: Option<ExecFailed>,
pub error: Option<String>,
pub timed_out: bool,
}Expand description
Durable job metadata. Environment values and stdin bytes are never included.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u32Metadata format version.
id: JobIdStable identity within the owning sandbox.
runtime_boot_id: StringRuntime generation that created this job.
command: Vec<String>Program followed by its arguments.
state: JobStateMost recent lifecycle observation.
tty: boolWhether output is a merged PTY stream.
stdin_closed: boolWhether further input has been permanently disabled.
pid: Option<u32>Guest PID, if spawn was acknowledged.
created_at: i64Admission time in Unix milliseconds.
started_at: Option<i64>Confirmed spawn time in Unix milliseconds.
finished_at: Option<i64>Completion or loss observation time in Unix milliseconds.
exit_code: Option<i32>Confirmed guest exit code, never synthesized on transport loss.
failure: Option<ExecFailed>Structured spawn failure, when supplied by the guest.
error: Option<String>Diagnostic for unconfirmed completion or host I/O failure.
timed_out: boolWhether the runtime requested termination after the execution deadline.