pub struct WasmExecutionReport {
pub accepted: bool,
pub rejection_reasons: Vec<String>,
pub compiled: bool,
pub compilation_error: Option<String>,
pub executed: bool,
pub execution_error: Option<String>,
pub output: Option<String>,
pub destroyed: bool,
pub metrics: WasmMetrics,
pub memory_update: Option<CapabilityMemoryRecord>,
}Fields§
§accepted: bool§rejection_reasons: Vec<String>§compiled: boolTrue when compilation succeeded.
compilation_error: Option<String>§executed: boolTrue when the WASM executed successfully (exit code 0).
execution_error: Option<String>§output: Option<String>Captured stdout from the WASM process.
destroyed: boolBinary destroyed after use: always true once compilation completes.
metrics: WasmMetrics§memory_update: Option<CapabilityMemoryRecord>Trait Implementations§
Source§impl Clone for WasmExecutionReport
impl Clone for WasmExecutionReport
Source§fn clone(&self) -> WasmExecutionReport
fn clone(&self) -> WasmExecutionReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WasmExecutionReport
impl Debug for WasmExecutionReport
Source§impl<'de> Deserialize<'de> for WasmExecutionReport
impl<'de> Deserialize<'de> for WasmExecutionReport
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 WasmExecutionReport
impl RefUnwindSafe for WasmExecutionReport
impl Send for WasmExecutionReport
impl Sync for WasmExecutionReport
impl Unpin for WasmExecutionReport
impl UnsafeUnpin for WasmExecutionReport
impl UnwindSafe for WasmExecutionReport
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