Trait runestick::module::AsyncInstFn[][src]

pub trait AsyncInstFn<Args>: 'static + Copy + Send + Sync {
    type Instance;
    type Return;
    fn args() -> usize;
fn instance_type_hash() -> Hash;
fn instance_type_info() -> TypeInfo;
fn fn_call(self, stack: &mut Stack, args: usize) -> Result<(), VmError>; }
Expand description

Trait used to provide the async_inst_fn function.

Associated Types

The type of the instance.

The return type of the function.

Required methods

Get the number of arguments.

Access the value type of the instance.

Access the value type of the instance.

Perform the vm call.

Implementors