pub struct PtyStepOutcome {
pub step: usize,
pub ok: bool,
pub detail: String,
}Expand description
The per-step verdict record. One entry per EXECUTED step (the run stops
at the first failed expect, so a failing run’s last entry is the
failure; send steps are recorded too so the validator sees how far the
script drove).
Fields§
§step: usizeZero-based index into the script’s steps.
ok: bool§detail: StringWhat happened, naming the step — e.g. expect > matched (812ms)
or expect echo:hello timed out after 500ms.
Trait Implementations§
Source§impl Clone for PtyStepOutcome
impl Clone for PtyStepOutcome
Source§fn clone(&self) -> PtyStepOutcome
fn clone(&self) -> PtyStepOutcome
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 PtyStepOutcome
impl RefUnwindSafe for PtyStepOutcome
impl Send for PtyStepOutcome
impl Sync for PtyStepOutcome
impl Unpin for PtyStepOutcome
impl UnsafeUnpin for PtyStepOutcome
impl UnwindSafe for PtyStepOutcome
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