pub fn execute_feature_action(
app: &AppRuntime,
route: &Value,
request: &HttpRequest,
actor_id: i64,
) -> Result<FeatureActionOutcome, FeatureRuntimeError>Expand description
Executes one declared feature action.
§Parameters
app: Input consumed bycrate::runtime::feature_runtime::execute_feature_action.route: Input consumed bycrate::runtime::feature_runtime::execute_feature_action.request: Input consumed bycrate::runtime::feature_runtime::execute_feature_action.actor_id: Input consumed bycrate::runtime::feature_runtime::execute_feature_action.
§Returns
Returns the successful value produced by crate::runtime::feature_runtime::execute_feature_action or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::feature_runtime::execute_feature_action cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::feature_runtime::execute_feature_action.
§Examples
ⓘ
let _result = pharos_native::runtime::feature_runtime::execute_feature_action(todo!(), todo!(), todo!(), 1);§Related
crate::runtime::feature_runtimefor adjacent helpers that share the same runtime surface.