pub struct SubprocessRecord {
pub argv: Vec<String>,
pub exit_code: Option<i32>,
pub wall_ms: u64,
pub stderr_head: String,
pub timestamp: SystemTime,
}Expand description
v1.0.7 §D3 — recorded snapshot of one xcrun simctl invocation.
Exposed so callers can dump the ring buffer for post-mortem when
something upstream fails.
Fields§
§argv: Vec<String>argv as passed to xcrun simctl (excludes the xcrun simctl
prefix; first entry is the subcommand).
exit_code: Option<i32>Exit code; None when the process failed to spawn or the
output-capture path failed before recording the exit.
wall_ms: u64Wall-clock milliseconds.
stderr_head: StringFirst 256 bytes of stderr (truncated).
timestamp: SystemTimeWall-clock timestamp the invocation completed.
Trait Implementations§
Source§impl Clone for SubprocessRecord
impl Clone for SubprocessRecord
Source§fn clone(&self) -> SubprocessRecord
fn clone(&self) -> SubprocessRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubprocessRecord
impl RefUnwindSafe for SubprocessRecord
impl Send for SubprocessRecord
impl Sync for SubprocessRecord
impl Unpin for SubprocessRecord
impl UnsafeUnpin for SubprocessRecord
impl UnwindSafe for SubprocessRecord
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