pub struct CaptureOutcome {
pub exit_code: i32,
pub output: String,
pub sim_ms: u32,
pub part_states: BTreeMap<String, PartState>,
pub faults: Vec<String>,
}Expand description
A run whose console was captured instead of streamed.
run writes bytes to stdout as they arrive because a person is watching a
terminal. A host that owns stdout — the MCP server is one — cannot allow
that, so this path collects the same serial text and the part states the
UI would read back.
Fields§
§exit_code: i32§output: String§sim_ms: u32§part_states: BTreeMap<String, PartState>Parts whose state is not litz_core::PartState::None, by id.
faults: Vec<String>Electrical faults the board found, in net order.
Auto Trait Implementations§
impl Forget for CaptureOutcome
impl Freeze for CaptureOutcome
impl Move for CaptureOutcome
impl RefUnwindSafe for CaptureOutcome
impl Send for CaptureOutcome
impl Sync for CaptureOutcome
impl Unpin for CaptureOutcome
impl UnsafeUnpin for CaptureOutcome
impl UnwindSafe for CaptureOutcome
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
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> ⓘ
Converts
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> ⓘ
Converts
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