Skip to main content

Crate palladium_plugin

Crate palladium_plugin 

Source
Expand description

Plugin host for the Palladium actor runtime.

Provides PluginRegistry for loading native shared libraries and WASM modules as actor type factories, plus the manifest and error types used throughout the plugin system.

Re-exports§

pub use error::PluginError;
pub use ffi_bridge::make_ffi_context;
pub use manifest::NamespacePolicyConfig;
pub use manifest::PluginInfo;
pub use manifest::PluginKind;
pub use manifest::PluginManifest;
pub use plugin_rpc::RegistryRpcHandler;
pub use wasm::WasmError;
pub use wasm::WasmHost;
pub use wasm::WasmImports;
pub use wasm::WasmInstance;
pub use wasm::WasmModule;
pub use wasm::WasmVal;

Modules§

error
ffi_bridge
Plugin-side RuntimeBridge backed by the host PdHostVtable.
manifest
plugin_rpc
PluginRpcHandler implementation for PluginRegistry.
wasm
WASM plugin traits for compiling, instantiating, and calling WASM modules.

Structs§

PluginRegistry
Manages loaded plugins and their actor type factories.
WasmActor
An actor whose lifecycle hooks are implemented in a WASM module.