pub trait VmInvoke {
// Required method
fn invoke<Y: SystemApi<RuntimeError> + KernelNodeApi + KernelSubstateApi<SystemLockData>, V: VmApi>(
&mut self,
export_name: &str,
input: &IndexedScryptoValue,
api: &mut Y,
vm_api: &V,
) -> Result<IndexedScryptoValue, RuntimeError>;
}
Required Methods§
fn invoke<Y: SystemApi<RuntimeError> + KernelNodeApi + KernelSubstateApi<SystemLockData>, V: VmApi>( &mut self, export_name: &str, input: &IndexedScryptoValue, api: &mut Y, vm_api: &V, ) -> Result<IndexedScryptoValue, RuntimeError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.