pub type RunAsyncCallbackFn = Option<unsafe extern "system" fn(user_data: *mut c_void, outputs: *mut *mut OrtValue, num_outputs: usize, status: OrtStatusPtr)>;Expand description
\brief Callback function for RunAsync
\param[in] user_data User specific data that passed back to the callback \param[out] outputs On succeed, outputs host inference results, on error, the value will be nullptr \param[out] num_outputs Number of outputs, on error, the value will be zero \param[out] status On error, status will provide details
Aliased Type§
pub enum RunAsyncCallbackFn {
None,
Some(unsafe extern "system" fn(*mut c_void, *mut *mut OrtValue, usize, OrtStatusPtr)),
}