Trait pr47::ffi::async_fn::AsyncFunction [−][src]
pub trait AsyncFunction<ACTX: AsyncVMContext>: 'static {
fn signature(&self) -> Signature;
fn call_tyck(
&self,
context: &ACTX,
args: &[Value]
) -> Result<Promise, FFIException>;
unsafe fn call_rtlc(
&self,
context: &ACTX,
args: &[Value]
) -> Result<Promise, FFIException>;
}