pub struct CargoExecution {
pub execution: Result<CompletedExecution, ToolError>,
pub messages: Result<()>,
}Expand description
Independent execution and Cargo protocol evidence from one drained child.
A failed Cargo exit remains primary even if its output is not valid JSON.
Successful execution requires checking messages before admitting artifacts.
Protocol or message-sink refusal stops decoding but still drains the child.
Fields§
§execution: Result<CompletedExecution, ToolError>Original Host execution result, including bounded output and cleanup evidence.
messages: Result<()>Original decoder or message-sink refusal, if any.
Auto Trait Implementations§
impl !RefUnwindSafe for CargoExecution
impl !UnwindSafe for CargoExecution
impl Freeze for CargoExecution
impl Send for CargoExecution
impl Sync for CargoExecution
impl Unpin for CargoExecution
impl UnsafeUnpin for CargoExecution
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