pub struct NativeExecutionReport {
pub value: Value,
pub bytecode_functions: usize,
pub bytecode_instructions: usize,
pub native_target_calls: usize,
pub invocations: usize,
}Expand description
The result of one native-substrate execution.
Fields§
§value: ValueThe value returned by the VM entry function.
bytecode_functions: usizeNumber of Hara function prototypes validated for this bytecode unit.
bytecode_instructions: usizeNumber of Hara VM instructions validated for this bytecode unit.
native_target_calls: usizeNumber of approved native/protocol/evaluator targets reached by the VM during this execution.
invocations: usizeNumber of native-substrate VM entries represented by this report.
Implementations§
Trait Implementations§
Source§impl Clone for NativeExecutionReport
impl Clone for NativeExecutionReport
Source§fn clone(&self) -> NativeExecutionReport
fn clone(&self) -> NativeExecutionReport
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for NativeExecutionReport
impl !Send for NativeExecutionReport
impl !Sync for NativeExecutionReport
impl !UnwindSafe for NativeExecutionReport
impl Freeze for NativeExecutionReport
impl Unpin for NativeExecutionReport
impl UnsafeUnpin for NativeExecutionReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more