pub trait KernelInvokeApi<C> {
// Required method
fn kernel_invoke(
&mut self,
invocation: Box<KernelInvocation<C>>,
) -> Result<IndexedScryptoValue, RuntimeError>;
}Expand description
API for invoking a function creating a new call frame and passing control to the callee
Required Methods§
fn kernel_invoke( &mut self, invocation: Box<KernelInvocation<C>>, ) -> Result<IndexedScryptoValue, RuntimeError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".