pub fn invoke<FE: SandboxCapabilities + Externals>(
		&self,
		export_name: &str,
		args: &[RuntimeValue],
		supervisor_externals: &mut FE,
		state: u32,
	) -> Result<Option<wasmi::RuntimeValue>, wasmi::Error> {
		with_guest_externals(
			supervisor_externals,
			self,
			state,
			|guest_externals| {
				self.instance
					.invoke_export(export_name, args, guest_externals)
			},
		)
	}
/// Invoke an exported function by a name.
///
/// `supervisor_externals` is required to execute the implementations
/// of the syscalls that published to a sandboxed module instance.
///
/// The `state` parameter can be used to provide custom data for
/// these syscall implementations.
Invoke an exported function by a name.
`supervisor_externals` is required to execute the implementations
of the syscalls that published to a sandboxed module instance.

The `state` parameter can be used to provide custom data for
these syscall implementations.
Invoke an exported function by a name . ` supervisor_externals ` is required to execute the implementations of the syscalls that published to a sandboxed module instance . The ` state ` parameter can be used to provide custom data for these syscall implementations .
pub fn invoke<FE: SandboxCapabilities + Externals>(
		&self,
		export_name: &str,
		args: &[RuntimeValue],
		supervisor_externals: &mut FE,
		state: u32,
	) -> Result<Option<wasmi::RuntimeValue>, wasmi::Error> {
		with_guest_externals(
			supervisor_externals,
			self,
			state,
			|guest_externals| {
				self.instance
					.invoke_export(export_name, args, guest_externals)
			},
		)
	}
pub fn invoke < FE : SandboxCapabilities + Externals > ( & self , export_name : & str , args : & [ RuntimeValue ] , supervisor_externals : & mut FE , state : u32 , ) -> Result < Option < wasmi :: RuntimeValue > , wasmi :: Error > { with_guest_externals ( supervisor_externals , self , state , | guest_externals | { self . instance . invoke_export ( export_name , args , guest_externals ) } , ) }
Invoke an exported function by a name.
Invoke an exported function by a name .
&self
export_name
&str
args
&[RuntimeValue]
supervisor_externals
&mut FE
state
u32
&self
export_name
&str
args
&[RuntimeValue]
supervisor_externals
&mut FE
state
u32