Skip to main content

CallDynFn

Type Alias CallDynFn 

Source
pub type CallDynFn = fn(&mut DynSegment, &[&dyn Any]) -> Result<Box<dyn Any>>;
Expand description

Executes a compiled segment with the supplied inputs and boxes the result.

  • Complexity: follows dynamic segment evaluation and concrete result cloning.

§Errors

Reports rejected argument or result types and evaluation failures.

§Examples

See TypeEntry for calling a segment with the registered argument and result adapters.