pub struct ExecutorInspector<'e> {
pub actions: Option<Cell>,
pub public_libs_diff: Vec<PublicLibraryChange>,
pub exit_code: Option<i32>,
pub missing_library: Option<HashBytes>,
pub total_gas_used: u64,
pub debug: Option<&'e mut dyn Write>,
pub modify_smc_info: Option<&'e mut ModifySmcInfoFn>,
}Expand description
Executor internals inspector.
Fields§
§actions: Option<Cell>Actions list from compute phase.
public_libs_diff: Vec<PublicLibraryChange>A set of changes of the public libraries dict.
NOTE: The order is the same as the actions order so it can contain duplicates and must be folded before use.
exit_code: Option<i32>Compute phase exit code.
missing_library: Option<HashBytes>Hash of the library in case it was missing during execution.
total_gas_used: u64Total gas consumed (including the remaining “free” gas and everything that exceeds the limit).
debug: Option<&'e mut dyn Write>Debug output target.
modify_smc_info: Option<&'e mut ModifySmcInfoFn>Hook for a compute phase to modify C7 register data.
Trait Implementations§
Source§impl<'e> Default for ExecutorInspector<'e>
impl<'e> Default for ExecutorInspector<'e>
Source§fn default() -> ExecutorInspector<'e>
fn default() -> ExecutorInspector<'e>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'e> Freeze for ExecutorInspector<'e>
impl<'e> !RefUnwindSafe for ExecutorInspector<'e>
impl<'e> !Send for ExecutorInspector<'e>
impl<'e> !Sync for ExecutorInspector<'e>
impl<'e> Unpin for ExecutorInspector<'e>
impl<'e> !UnwindSafe for ExecutorInspector<'e>
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