pub fn send_execute<A, N>(mut self, name: N, args: A) -> Result<VmSendExecution, VmError>
    where
        N: IntoTypeHash,
        A: Send + Args,
    {
        // Safety: make sure the stack is clear, preventing any values from
        // being sent along with the virtual machine.
        self.stack.clear();

        let execution = self.execute(name, args)?;
        Ok(VmSendExecution(execution))
    }
/// An `execute` variant that returns an execution which implements
/// [`Send`], allowing it to be sent and executed on a different thread.
///
/// This is accomplished by preventing values escaping from being
/// non-exclusively sent with the execution or escaping the execution. We
/// only support encoding arguments which themselves are `Send`.
An `execute` variant that returns an execution which implements
[`Send`], allowing it to be sent and executed on a different thread.

This is accomplished by preventing values escaping from being
non-exclusively sent with the execution or escaping the execution. We
only support encoding arguments which themselves are `Send`.
An ` execute ` variant that returns an execution which implements [ ` Send ` ] allowing it to be sent and executed on a different thread . This is accomplished by preventing values escaping from being non - exclusively sent with the execution or escaping the execution . We only support encoding arguments which themselves are ` Send ` .
pub fn send_execute<A, N>(mut self, name: N, args: A) -> Result<VmSendExecution, VmError>
    where
        N: IntoTypeHash,
        A: Send + Args,
    {
        // Safety: make sure the stack is clear, preventing any values from
        // being sent along with the virtual machine.
        self.stack.clear();
        let execution = self.execute(name, args)?;
        Ok(VmSendExecution(execution))
    }
pub fn send_execute < A , N > ( mut self , name : N , args : A ) -> Result < VmSendExecution , VmError > where N : IntoTypeHash , A : Send + Args , { // Safety: make sure the stack is clear, preventing any values from // being sent along with the virtual machine. self . stack . clear ( ) ; let execution = self . execute ( name , args ) ? ; Ok ( VmSendExecution ( execution ) ) }
An `execute` variant that returns an execution which implements
[`Send`], allowing it to be sent and executed on a different thread.
An ` execute ` variant that returns an execution which implements [ ` Send ` ] allowing it to be sent and executed on a different thread .
mut self
name
N
args
A
mut self
name
N
args
A