Type Definition wasmedge_sys::BoxedFn

source ·
pub type BoxedFn = Box<dyn Fn(CallingFrame, Vec<WasmValue>) -> Result<Vec<WasmValue>, HostFuncError> + Send + Sync>;
Expand description

Type alias for a boxed native function. This type is used in thread-safe cases.