Expand description
Shared helpers for the three Extism adapter modules.
acquire, extism_err_to_fn_err, and the qname → export-symbol
sanitizer were copy-pasted across crate::adapter,
crate::adapter_aggregate, and crate::adapter_procedure. They
live here once so the lease/error/symbol conventions stay in lock-step
across the scalar, aggregate, and procedure adapters.
Functions§
- acquire
- Lease one warm instance from
pool, mapping pool exhaustion to aFnErrorcarryingFnError::CODE_RESOURCE_LIMIT. - extism_
err_ to_ fn_ err - Map an Arrow-IPC boundary error to a
FnErrorcarryingFnError::CODE_TYPE_COERCION. - sanitize_
qname - Sanitize a qname into the
.-free stem used in plugin export symbols.