Skip to main content

Crate nichlink_plugin_host

Crate nichlink_plugin_host 

Source
Expand description

Isolated execution and atomic deployment for NichLink plugins. NichLink 插件的隔离执行与原子部署。

Structs§

Deployment
One consistent view of registration metadata and executable code. 注册元数据与可执行代码的一致视图。
Ed25519Verifier
Verifies plugin signatures against a fixed set of trusted public keys. 用一组固定可信公钥验证插件签名。
HotDeployment
Lock-free reads with serialized, validated replacement. 读取无锁,替换串行校验。
ProcessBackend
Process-isolated plugin loader. 进程隔离插件加载器。
ProcessInstance
A process plugin. Each call gets a fresh child and a hard deadline. 进程插件。每次调用使用独立子进程和硬超时。
ProcessLimits
Limits for one isolated process call. 单次隔离进程调用的限制。
ProcessProgram
Executable and fixed arguments for an isolated plugin. 隔离插件使用的程序和固定参数。
TrustedPublicKey
One public key the host will trust, named by its SHA-256 fingerprint. 宿主愿意信任的一个公钥,以它的 SHA-256 指纹命名。
WasmBackend
Loads Wasm without WASI or host imports. 在没有 WASI 和宿主导入的环境中加载 Wasm。
WasmInstance
A loaded, fuel-metered Wasm plugin. 已加载并启用燃料计量的 Wasm 插件。
WasmLimits
Resource budget applied to every Wasm call. 每次 Wasm 调用使用的资源预算。
WasmPluginSlot
A release-time opening for one Wasm extension or replacement. 正式发布时保留的一个 Wasm 扩展或替换入口。
WasmPluginTable
Lazily activates verified Wasm plugins in explicitly retained slots. 仅在显式保留的槽中懒加载已验证 Wasm 插件。

Enums§

HostError
Failure returned at the plugin-host seam. 插件宿主接口返回的失败。
ValidationChannel
Trust lane enabled for one runtime plugin slot. 运行时插件槽允许使用的信任通道。

Traits§

PluginInstance
One callable plugin implementation. 一个可调用的插件实现。