Skip to main content

Module callbacks

Module callbacks 

Source
Expand description

SDK-owned C ABI trampolines for string inputs, output slots and deallocation.

Raw validity and allocation ownership remain the ABI caller’s contract. Plugin bodies use Rust strings and an exclusive, lifetime-bound output capability instead of manipulating pointers themselves.

Structs§

Output

Enums§

Step
An owned copy of a plugin-produced step result, without ABI pointers.

Functions§

free_step_result
ABI cleanup callback for a step result produced by this SDK instance. Its live union arm and string allocation must follow the StepResult ABI.
free_string
ABI deallocation callback for strings produced by this SDK instance.
take_step_result⚠
Safety