Skip to main content

Module cdylib

Module cdylib 

Source
Expand description

CdylibExecutor โ€” the cdylib execution backend: vtable/FFI dispatch with the bincode wire format.

This is the original PluginHandle dispatch logic, moved behind the crate::executor::PluginExecutor seam (FIDIUS-I-0021). It keeps its own generic call_method<I, O> so the cdylib typed path serializes the concrete type with bincode directly โ€” Value is never involved, so the bytes the plugin decodes are byte-identical to pre-refactor. The public-facing crate::handle::PluginHandle wraps this in an enum alongside the Python (and future WASM) backends.

Structsยง

CdylibExecutor
A handle to a loaded plugin, ready for calling methods.