pub struct PtyRunOutcome {
pub verdict: PtyVerdict,
pub steps: Vec<PtyStepOutcome>,
pub transcript: Vec<u8>,
pub truncated: bool,
pub note: Option<String>,
}Expand description
What one scripted pty session produced: the verdict, per-step verdicts, and the bounded transcript.
Fields§
§verdict: PtyVerdict§steps: Vec<PtyStepOutcome>§transcript: Vec<u8>Raw pty output bytes, capped at MAX_TRANSCRIPT_BYTES.
truncated: boolTrue when output past the cap was discarded.
note: Option<String>Session-level context: spawn failure reason, target exit status, harness termination note.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PtyRunOutcome
impl RefUnwindSafe for PtyRunOutcome
impl Send for PtyRunOutcome
impl Sync for PtyRunOutcome
impl Unpin for PtyRunOutcome
impl UnsafeUnpin for PtyRunOutcome
impl UnwindSafe for PtyRunOutcome
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