Skip to main content

execute_prepared_value_call

Function execute_prepared_value_call 

Source
pub fn execute_prepared_value_call<'g>(
    registry: &ExtensionRegistry<'_>,
    handle: &PreparedCallHandle,
    ctx: &CallExecutionContext,
    gate: Option<&mut (dyn SentinelPolicyGate + 'g)>,
    pos_args: &[Value],
    budget: &mut Budget,
    span: Span,
    path_label: &str,
) -> Result<(Value, DispatchOutcome), Diagnostic>
Expand description

Executes a resolved PreparedCallHandle by marshaling pos_args into stack-allocated BorrowedSliceViews (with descriptor-driven overflow sizing when needed), invoking dispatch_prepared_call, charging budget, and decoding CallerOutputSlice back to a Value.