pub struct ExecutionResult {Show 13 fields
pub execution_id: ExecutionId,
pub runtime: RuntimeKind,
pub success: bool,
pub value: Option<Value>,
pub stdout: String,
pub stderr: String,
pub duration_us: u64,
pub exception: Option<ExceptionInfo>,
pub state: Option<ExecutionState>,
pub suspended: bool,
pub ues: Option<Value>,
pub safepoint: Option<Value>,
pub stats: IndexMap<String, Value>,
}Expand description
Outcome of an execution attempt.
Fields§
§execution_id: ExecutionIdCorrelation id.
runtime: RuntimeKindRuntime that executed.
success: boolWhether the guest completed successfully.
value: Option<Value>Guest return value as JSON when applicable.
stdout: StringCaptured stdout.
stderr: StringCaptured stderr.
duration_us: u64Wall time in microseconds.
exception: Option<ExceptionInfo>Optional exception summary.
state: Option<ExecutionState>Optional captured execution state (PIR-backed).
suspended: boolTrue when paused at an explicit Continuum safepoint.
ues: Option<Value>Captured Universal Execution State JSON (Continuum), when suspended.
safepoint: Option<Value>Safepoint report JSON when suspended.
stats: IndexMap<String, Value>Adapter-specific stats.
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§impl Debug for ExecutionResult
impl Debug for ExecutionResult
Source§impl<'de> Deserialize<'de> for ExecutionResult
impl<'de> Deserialize<'de> for ExecutionResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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