pub struct ExecutionResult {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
pub execution_time_ms: u64,
pub artifacts: Vec<SandboxArtifact>,
}Expand description
Result of code execution.
Fields§
§exit_code: i32Exit code (0 = success)
stdout: StringStandard output
stderr: StringStandard error
execution_time_ms: u64Execution time in milliseconds
artifacts: Vec<SandboxArtifact>Generated artifacts (files)
Implementations§
Source§impl ExecutionResult
impl ExecutionResult
Sourcepub const fn is_success(&self) -> bool
pub const fn is_success(&self) -> bool
Check if execution was successful.
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§fn clone(&self) -> ExecutionResult
fn clone(&self) -> ExecutionResult
Returns a duplicate of the value. Read more
1.0.0 · 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 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