pub struct ExecutionResult {
pub phase: PhaseId,
pub success: bool,
pub exit_code: i32,
pub artifact_paths: Vec<PathBuf>,
pub receipt_path: Option<PathBuf>,
pub error: Option<String>,
}Expand description
Result of executing a phase through the orchestrator.
Contains all information about the phase execution including success status, artifacts created, and any errors encountered.
This is the primary result type returned by orchestrator execution methods and is intended for CLI and Kiro callers to inspect execution outcomes.
§Fields
phase: The phase that was executedsuccess: Whether the phase completed successfully (exit_code == 0)exit_code: Exit code from the phase execution (0 = success, seeexit_codesmodule)artifact_paths: Paths to artifacts that were created (empty on failure)receipt_path: Path to the receipt file (always present, even on failure)error: Human-readable error message if execution failed
Fields§
§phase: PhaseIdThe phase that was executed
success: boolWhether the phase completed successfully
exit_code: i32Exit code from the phase execution
artifact_paths: Vec<PathBuf>Paths to artifacts that were created
receipt_path: Option<PathBuf>Path to the receipt file
error: Option<String>Any error that occurred during execution
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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