Skip to main content Module load Copy item path Source CFMPluginMetadata C-ABI mirror of the plugin metadata struct declared in
a plugin may leave any of them NULL. InterfaceEntry A single advertised interface: its wire name and the version byte
the plugin speaks. PluginMetadata Rust-friendly, owned copy of the metadata. Every field is Option
because the plugin may omit any of them; the caller fills gaps from
CLI args. LoadError open_library Open the artifact as a dynamic library. The Library handle owns the
mapping; keep it alive for as long as any borrowed FFI data is in use. query_interfaces Call cfmp_query_interfaces() if exported, parsing the packed
name\0ver\0 stream. Returns Ok(None) when the symbol is absent. query_metadata Call cfmp_metadata() if exported, returning an owned copy. Returns
Ok(None) when the symbol is absent (the plugin is still loadable by
Confium but ineligible for registry publishing per the contract). resolve_algorithms Resolve the effective [algorithms] map: CLI override wins, else
empty (FFI does not advertise algorithms today). resolve_interfaces Resolve the effective [interfaces] map: CLI override wins, else the
FFI query, else empty. Returns a BTreeMap so the serialized TOML is
deterministic. Result