> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server. # nemo-relay-plugin-host > Generic plugin infrastructure for NeMo Relay runtimes. Generated from `cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`. Generic plugin infrastructure for NeMo Relay runtimes. This module owns: * config diagnostics and policy enums used by plugin systems * a global plugin registry * plugin registration contexts for middleware/subscriber installation * rollback bookkeeping for registrations created during plugin setup ## Re-exports * `pub use dynamic::*;` ## Modules * [composition](/reference/api/rust-library-reference/nemo-relay-plugin-host/composition): Built-in plugin composition supplied by the host or embedding application. * [dynamic](/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic): Dynamic plugin control-plane and registry model. * [exporter](/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter): Exporter constructors bound to the shared execution runtime. Exporter constructors bound to the execution runtime's scopes, codecs, and diagnostics. * [resource_metrics](/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics): Resource collection and supervised-process integration. Fresh and managed system resource metric observation. ## Structs * [ConfigDiagnostic](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configdiagnostic): Structured diagnostic reported while validating or activating plugin configuration. * [ConfigPolicy](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configpolicy): Policy for how unsupported plugin/runtime config is handled. * [ConfigReport](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configreport): Structured configuration and activation report. * [HostPluginRegistrationContext](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-hostpluginregistrationcontext): Host implementation of the shared [`PluginRegistrationContext`](/reference/api/rust-library-reference/nemo-relay-plugin-host/trait-pluginregistrationcontext) interface. * [PluginComponentSpec](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-plugincomponentspec): One configured plugin component. * [PluginConfig](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginconfig): Canonical plugin configuration document. * [PluginRegistration](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginregistration): Bookkeeping for one middleware/subscriber registration. * [PluginRollbackOutcome](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginrollbackoutcome): Result of rolling back a set of plugin registrations. * [RuntimeDiagnostic](/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-runtimediagnostic): Bounded aggregate for a runtime failure observed by an active plugin. ## Enums * [DiagnosticLevel](/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-diagnosticlevel): Severity of a plugin configuration or activation diagnostic. * [PluginError](/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-pluginerror): Error type for generic plugin operations. * [PluginRegistrationCleanupOutcome](/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-pluginregistrationcleanupoutcome): Outcome of a tracked resource cleanup operation. * [UnsupportedBehavior](/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-unsupportedbehavior): Per-policy behavior for unsupported configuration. ## Traits * [Plugin](/reference/api/rust-library-reference/nemo-relay-plugin-host/trait-plugin): Implemented by custom plugins that register runtime middleware. * [PluginRegistrationContext](/reference/api/rust-library-reference/nemo-relay-plugin-host/trait-pluginregistrationcontext): Host capabilities available to plugins during component activation. ## Functions * [apply_global_config_policy](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-apply-global-config-policy): Applies non-default global policy fields to a component policy. * [deregister_plugin](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-deregister-plugin): Removes a previously registered plugin. * [ensure_builtin_plugins_registered](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-ensure-builtin-plugins-registered): Register built-in plugin kinds supplied by the embedding host. * [initialize_exact](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-exact): Activate exactly the supplied configuration without implicit discovery. * [initialize_runtime](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-runtime): Install shared default services without activating configured plugins. Explicit services installed by an embedding application remain selected. * [initialize_with_verified_specs](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-with-verified-specs): Activate verified artifacts under the host's configuration lease. * [list_plugin_kinds](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-list-plugin-kinds): Lists registered plugin kinds in sorted order. * [lookup_plugin](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-lookup-plugin): Looks up a registered plugin by kind. * [plugin_config_schema](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-plugin-config-schema): Returns the JSON Schema for the canonical plugin configuration document. * [record_active_plugin_runtime_diagnostic](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-record-active-plugin-runtime-diagnostic): Updates the existing active-only runtime report. * [register_plugin](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-register-plugin): Registers a plugin by kind. * [rollback_registrations](/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-rollback-registrations): Rolls back registrations in reverse order. ## Type Aliases * [Result](/reference/api/rust-library-reference/nemo-relay-plugin-host/type-result): Specialized [`Result`](https://doc.rust-lang.org/1.96.1/core/result/enum.Result.html) type for plugin operations. > Generic plugin infrastructure for NeMo Relay runtimes. ## Docs - [Module dynamic](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic.md): Dynamic plugin control-plane and registry model. - [Struct Dynamic Plugin Failure](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginfailure.md): One structured recent failure summary. - [Struct Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginhostpolicy.md): Effective host policy for dynamic plugins. - [Struct Dynamic Plugin Host Policy Effect](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginhostpolicyeffect.md): A partial policy effect that may overlay another effect. - [Struct Dynamic Plugin Host Policy Rule](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginhostpolicyrule.md): One ordered policy rule. - [Struct Dynamic Plugin Manifest](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifest.md): Authored `relay-plugin.toml` manifest. - [Struct Dynamic Plugin Manifest Capabilities](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestcapabilities.md): Capability declarations for authored manifests. - [Struct Dynamic Plugin Manifest Compat](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestcompat.md): Compatibility block for `relay-plugin.toml`. - [Struct Dynamic Plugin Manifest Config Schema](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestconfigschema.md): Static configuration schema block for authored manifests. - [Struct Dynamic Plugin Manifest Defaults](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestdefaults.md): Defaults block for authored manifests. - [Struct Dynamic Plugin Manifest Integrity](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestintegrity.md): Integrity/authenticity evidence block for authored manifests. - [Struct Dynamic Plugin Manifest Plugin](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestplugin.md): Plugin identity block for `relay-plugin.toml`. - [Struct Dynamic Plugin Manifest Rust Dynamic Load](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestrustdynamicload.md): Native shared-library authored load block. - [Struct Dynamic Plugin Manifest Source](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestsource.md): Source block for authored manifests. - [Struct Dynamic Plugin Manifest Worker Load](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmanifestworkerload.md): Worker lane authored load block. - [Struct Dynamic Plugin Metadata](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginmetadata.md): Stable metadata for one durable plugin record. - [Struct Dynamic Plugin Record](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginrecord.md): Durable control-plane record for a dynamic plugin. - [Struct Dynamic Plugin Registry](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginregistry.md): In-memory dynamic plugin registry used by the control plane. - [Struct Dynamic Plugin Runtime Status](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginruntimestatus.md): Observed runtime state for one plugin record. - [Struct Dynamic Plugin Rust Compatibility](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginrustcompatibility.md): Compatibility contract for native shared libraries. - [Struct Dynamic Plugin Rust Load Contract](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginrustloadcontract.md): Lane-specific load contract for native shared libraries. - [Struct Dynamic Plugin Source](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginsource.md): Source and resolved artifact facts for a plugin. - [Struct Dynamic Plugin Spec](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginspec.md): Desired-state fields owned by user-facing operations. - [Struct Dynamic Plugin Status](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginstatus.md): Durable observed state for a plugin record. - [Struct Dynamic Plugin Validation Report](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginvalidationreport.md): One validation result produced by core before dynamic code is loaded. - [Struct Dynamic Plugin Validation Status](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginvalidationstatus.md): Decomposed validation results for one plugin record. - [Struct Dynamic Plugin Worker Compatibility](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginworkercompatibility.md): Compatibility contract for worker plugins. - [Struct Dynamic Plugin Worker Load Contract](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-dynamicpluginworkerloadcontract.md): Lane-specific load contract for worker plugins. - [Struct Evaluated Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-evaluateddynamicpluginhostpolicy.md): The result of applying the effective host policy to one manifest. - [Struct Evaluated Dynamic Plugin Trust](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-evaluateddynamicplugintrust.md): Result of integrity and authenticity verification. - [Struct File Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-filedynamicpluginhostpolicy.md): The TOML representation accepted below `[plugins.policy]`. - [Struct File Dynamic Plugin Host Policy Effect](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-filedynamicpluginhostpolicyeffect.md): File-level partial policy effect. - [Struct File Dynamic Plugin Host Policy Rule](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-filedynamicpluginhostpolicyrule.md): File-level ordered policy rule. - [Struct Native Plugin Activation](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-nativepluginactivation.md): Owns native dynamic libraries registered into the plugin registry. - [Struct Native Plugin Load Spec](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-nativepluginloadspec.md): Native plugin load request derived from host dynamic-plugin state. - [Struct Plugin Host Activation](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-pluginhostactivation.md): Owns one process-wide dynamic plugin configuration and its loaded runtimes. - [Struct Plugin Host Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-pluginhostconfig.md): Embedded startup configuration. Service settings are not plugin component configuration and never enter plugin fingerprints or legacy reports. - [Struct Plugin Host Report](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-pluginhostreport.md): Combined static and dynamic host report. - [Struct Verified Dynamic Plugin Spec](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-verifieddynamicpluginspec.md): One dynamic plugin component to load and activate in an embedding host. - [Struct Worker Callback Timeouts](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-workercallbacktimeouts.md): Time limits for short worker callbacks, in milliseconds, enforced by the host. - [Struct Worker Message Limits](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-workermessagelimits.md): Finite worker message limits, in bytes, keyed by callback registration name. - [Struct Worker Plugin Activation](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-workerpluginactivation.md): Owns gRPC worker processes registered into the plugin registry. - [Struct Worker Plugin Load Spec](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/struct-workerpluginloadspec.md): Worker plugin load request derived from host dynamic-plugin state. - [Enum Dynamic Plugin Attestation Mode](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginattestationmode.md): Host attestation policy mode. - [Enum Dynamic Plugin Capability](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicplugincapability.md): Relay-enforced capability declared by a dynamic plugin. - [Enum Dynamic Plugin Check State](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicplugincheckstate.md): High-level verification state for one validation axis. - [Enum Dynamic Plugin Compatibility](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicplugincompatibility.md): Lane-specific compatibility declarations and resolved compatibility facts. - [Enum Dynamic Plugin Failure Phase](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginfailurephase.md): Recent failure phase or policy-gate context for diagnostics and operator UX. - [Enum Dynamic Plugin Host Policy Failure](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginhostpolicyfailure.md): A policy refusal. - [Enum Dynamic Plugin Kind](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginkind.md): Plugin execution lane. - [Enum Dynamic Plugin Load Contract](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginloadcontract.md): Runtime entry contract for the resolved plugin. - [Enum Dynamic Plugin Manifest Load](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginmanifestload.md): Load block for authored manifests. - [Enum Dynamic Plugin Runtime State](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginruntimestate.md): Observed runtime state for a dynamic plugin. - [Enum Dynamic Plugin Startup Class](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicpluginstartupclass.md): Host policy startup classification for a plugin. - [Enum Dynamic Plugin Trust Failure](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-dynamicplugintrustfailure.md): A failed artifact trust check. - [Enum Worker Runtime](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/enum-workerruntime.md): Managed runtime identity for worker-based plugins. - [Constant DYNAMIC_PLUGIN_MANIFEST_FILENAME](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/constant-dynamic-plugin-manifest-filename.md): Canonical filename for authored Relay plugin manifests. - [Constant MAX_DYNAMIC_PLUGIN_FILE_BYTES](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/constant-max-dynamic-plugin-file-bytes.md): Maximum accepted size for one plugin manifest, artifact, schema, or signature. - [Function evaluate_dynamic_plugin_host_policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-evaluate-dynamic-plugin-host-policy.md): Evaluates a dynamic plugin manifest against a resolved host policy. - [Function evaluate_dynamic_plugin_trust](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-evaluate-dynamic-plugin-trust.md): Validates the manifest artifact under the already-evaluated host policy. - [Function initialize](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-initialize.md): Initializes the process-wide static and dynamic plugin host. - [Function initialize_with_diagnostics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-initialize-with-diagnostics.md): Initializes the plugin host using an explicitly selected diagnostic context. - [Function load_native_plugins](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-load-native-plugins.md): Loads native dynamic plugins and registers their plugin kinds. - [Function load_native_plugins_with_diagnostics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-load-native-plugins-with-diagnostics.md): Load native plugins with the runtime owner's diagnostics service. - [Function load_worker_plugins](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-load-worker-plugins.md): Loads gRPC worker plugins and registers their plugin kinds. - [Function load_worker_plugins_with_diagnostics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-load-worker-plugins-with-diagnostics.md): Load plugin workers using the runtime owner's selected diagnostic context. Diagnostic admission never controls whether an execution activation succeeds. - [Function read_bounded_regular_file](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-read-bounded-regular-file.md): Reads a regular file without following a Unix symlink and with a fixed byte budget. - [Function read_regular_file_with_limit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-read-regular-file-with-limit.md): Reads a regular file without following a Unix symlink and with a caller-provided byte budget. - [Function resolve_dynamic_plugin_artifact_path](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-resolve-dynamic-plugin-artifact-path.md): Resolves an artifact or signature reference relative to its manifest. - [Function stream_bounded_regular_file](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-stream-bounded-regular-file.md): Streams a regular file through `consume` with a fixed byte budget. - [Function stream_regular_file_with_limit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-stream-regular-file-with-limit.md): Streams a regular file through `consume` with a caller-provided byte budget. - [Function validate](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-validate.md): Validates the process-wide static and dynamic plugin host. - [Function validate_dynamic_plugin_config_schema](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-validate-dynamic-plugin-config-schema.md): Validates dynamic component configuration against its manifest-declared local schema. - [Function validate_exact](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/fn-validate-exact.md): Validates only the supplied static plugin configuration. - [Type Alias Dynamic Plugin Id](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/dynamic/type-dynamicpluginid.md): Canonical identifier for one dynamic plugin record. - [Module composition](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/composition.md): Built-in plugin composition supplied by the host or embedding application. - [Struct Host Services](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/composition/struct-hostservices.md): Services supplied by plugin-host or the embedding application. - [Function install_builtin_extensions](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/composition/fn-install-builtin-extensions.md): Install additional default components before querying the default host. The first composition selected by the embedding application is preserved. - [Function install_host_services](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/composition/fn-install-host-services.md): Install host composition once, preserving the chosen application. - [Module exporter](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter.md): Exporter constructors bound to the shared execution runtime. Exporter constructors bound to the execution runtime's scopes, codecs, and diagnostics. - [Function atif](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-atif.md): Create an ATIF exporter using the runtime's provider codecs and scope context. - [Function atif_for_trajectory](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-atif-for-trajectory.md): Create a runtime-bound ATIF exporter with an explicit trajectory identifier. - [Function atof](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-atof.md): Create an ATOF exporter ready for core subscriber registration. - [Function opentelemetry](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry.md): Create an OpenTelemetry or OpenInference trace subscriber for core events. - [Function opentelemetry_file](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-file.md): Create an OTLP file subscriber using the runtime's provider codecs and scope context. - [Function opentelemetry_from_provider](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-from-provider.md): Create a runtime-bound subscriber from a configured tracer provider. - [Function opentelemetry_from_provider_with_options](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-from-provider-with-options.md): Create a runtime-bound trace subscriber with composable projection options. - [Function opentelemetry_from_provider_with_type](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-from-provider-with-type.md): Create a runtime-bound subscriber with a selected trace projection. - [Function opentelemetry_from_provider_with_type_and_options](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-from-provider-with-type-and-options.md): Create a runtime-bound typed trace subscriber with projection options. - [Function opentelemetry_logs](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-logs.md): Create an OpenTelemetry log subscriber for core events. - [Function opentelemetry_metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/exporter/fn-opentelemetry-metrics.md): Create an OpenTelemetry metric subscriber for core events. - [Module resource_metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics.md): Resource collection and supervised-process integration. Fresh and managed system resource metric observation. - [Struct Accelerator Device Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-acceleratordevicemetrics.md): Device-wide accelerator measurements. - [Struct Accelerator Process Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-acceleratorprocessmetrics.md): Accelerator measurements attributed to one process in the selected scope. - [Struct CpuMetrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-cpumetrics.md): CPU measurements and CPU limit events. - [Struct Disk Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-diskmetrics.md): Disk I/O for the measured process scope and filesystem capacity. - [Struct Filesystem Capacity Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-filesystemcapacitymetrics.md): Filesystem capacity for one configured path. - [Struct GpuMetrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-gpumetrics.md): Accelerator (GPU) device-wide and process-attributed measurements. - [Struct Memory Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-memorymetrics.md): Memory measurements and memory limit events. - [Struct Network Interface Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-networkinterfacemetrics.md): Network traffic for one visible interface. - [Struct Network Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-networkmetrics.md): System-wide network traffic, regardless of the process measurement scope. - [Struct Network Traffic Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-networktrafficmetrics.md): Network counters for one interface or the selected system aggregate. - [Struct Process Metrics](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-processmetrics.md): Process counts, process limits, handles, and descriptors. - [Struct Process Sampling Metadata](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-processsamplingmetadata.md): Coverage of process queries used for process-summed measurements. - [Struct Resource Limit Event Count](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcelimiteventcount.md): One typed cumulative resource-limit event counter. - [Struct Resource Measurement](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemeasurement.md): One available resource measurement. - [Struct Resource Metrics Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsconfig.md): Configuration for the built-in `resource_metrics` plugin component. - [Struct Resource Metrics CpuConfig](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricscpuconfig.md): CPU observations, limits, and pressure. - [Struct Resource Metrics CpuUnits](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricscpuunits.md): CPU measurement unit choices. - [Struct Resource Metrics Disk Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsdiskconfig.md): Disk I/O for the selected process scope and filesystem capacity. - [Struct Resource Metrics Disk Units](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsdiskunits.md): Disk measurement unit choices. - [Struct Resource Metrics GpuConfig](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsgpuconfig.md): Accelerator observations. - [Struct Resource Metrics GpuUnits](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsgpuunits.md): GPU measurement unit choices. - [Struct Resource Metrics Memory Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsmemoryconfig.md): Memory observations, limits, pressure, and OOM events. - [Struct Resource Metrics Memory Units](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsmemoryunits.md): Memory measurement unit choices. - [Struct Resource Metrics Network Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsnetworkconfig.md): System interface counters. Empty `interfaces` selects every visible interface. - [Struct Resource Metrics Network Traffic Units](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsnetworktrafficunits.md): Unit choices for one group of network traffic. - [Struct Resource Metrics Network Units](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsnetworkunits.md): Unit choices for system and interface traffic. - [Struct Resource Metrics Polling Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricspollingconfig.md): Periodic collection controlled by the `resource_metrics` plugin component. - [Struct Resource Metrics Process Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsprocessconfig.md): Process, thread, handle, descriptor, and process-limit observations. - [Struct Resource Metrics Snapshot](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricssnapshot.md): One point-in-time observation of the selected system and process resources. - [Struct Resource Metrics Units](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/struct-resourcemetricsunits.md): Output unit choices for resource metrics. - [Enum Accelerator Vendor](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-acceleratorvendor.md): Accelerator vendor associated with a metric record. - [Enum Bandwidth Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-bandwidthunit.md): Units for data transferred per second. - [Enum Capacity Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-capacityunit.md): Units for memory and filesystem capacity. - [Enum Count Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-countunit.md): Fixed units for process, resource, and operation counts. - [Enum CpuUnit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-cpuunit.md): Units for CPU consumption and effective capacity. - [Enum Data Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-dataunit.md): Units for cumulative transferred data. - [Enum Duration Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-durationunit.md): Units for elapsed and cumulative durations. - [Enum Resource Limit Event Kind](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourcelimiteventkind.md): Direct operating-system resource-limit event kind. - [Enum Resource Limit Resource](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourcelimitresource.md): Resource whose configured boundary produced a limit event. - [Enum Resource Measurement Scope](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourcemeasurementscope.md): System or process boundary measured by a snapshot. - [Enum Resource Metric Value](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourcemetricvalue.md): Exact integral values remain integers; converted fractional values are decimals. - [Enum Resource Metrics Measurement Scope](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourcemetricsmeasurementscope.md): Measurement boundary selected for resource metric collection. - [Enum Resource Operating System](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-resourceoperatingsystem.md): Operating system that produced a resource metrics snapshot. - [Enum Utilization Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/enum-utilizationunit.md): Units for GPU compute utilization. - [Constant RESOURCE_METRICS_EVENT_NAME](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/constant-resource-metrics-event-name.md): Canonical event name for resource metric marks. Canonical event name for resource metric marks. - [Trait Resource Unit](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/trait-resourceunit.md): A unit with a stable name in snapshots and metric marks. - [Function collect](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/resource_metrics/fn-collect.md): Acquire a fresh snapshot without requiring managed polling. - [Struct Config Diagnostic](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configdiagnostic.md): Structured diagnostic reported while validating or activating plugin configuration. - [Struct Config Policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configpolicy.md): Policy for how unsupported plugin/runtime config is handled. - [Struct Config Report](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-configreport.md): Structured configuration and activation report. - [Struct Host Plugin Registration Context](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-hostpluginregistrationcontext.md): Host implementation of the shared `PluginRegistrationContext` interface. - [Struct Plugin Component Spec](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-plugincomponentspec.md): One configured plugin component. - [Struct Plugin Config](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginconfig.md): Canonical plugin configuration document. - [Struct Plugin Registration](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginregistration.md): Bookkeeping for one middleware/subscriber registration. - [Struct Plugin Rollback Outcome](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-pluginrollbackoutcome.md): Result of rolling back a set of plugin registrations. - [Struct Runtime Diagnostic](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/struct-runtimediagnostic.md): Bounded aggregate for a runtime failure observed by an active plugin. - [Enum Diagnostic Level](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-diagnosticlevel.md): Severity of a plugin configuration or activation diagnostic. - [Enum Plugin Error](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-pluginerror.md): Error type for generic plugin operations. - [Enum Plugin Registration Cleanup Outcome](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-pluginregistrationcleanupoutcome.md): Outcome of a tracked resource cleanup operation. - [Enum Unsupported Behavior](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/enum-unsupportedbehavior.md): Per-policy behavior for unsupported configuration. - [Trait Plugin](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/trait-plugin.md): Implemented by custom plugins that register runtime middleware. - [Trait Plugin Registration Context](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/trait-pluginregistrationcontext.md): Host capabilities available to plugins during component activation. - [Function apply_global_config_policy](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-apply-global-config-policy.md): Applies non-default global policy fields to a component policy. - [Function deregister_plugin](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-deregister-plugin.md): Removes a previously registered plugin. - [Function ensure_builtin_plugins_registered](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-ensure-builtin-plugins-registered.md): Register built-in plugin kinds supplied by the embedding host. - [Function initialize_exact](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-exact.md): Activate exactly the supplied configuration without implicit discovery. - [Function initialize_runtime](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-runtime.md): Install shared default services without activating configured plugins. Explicit services installed by an embedding application remain selected. - [Function initialize_with_verified_specs](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-initialize-with-verified-specs.md): Activate verified artifacts under the host's configuration lease. - [Function list_plugin_kinds](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-list-plugin-kinds.md): Lists registered plugin kinds in sorted order. - [Function lookup_plugin](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-lookup-plugin.md): Looks up a registered plugin by kind. - [Function plugin_config_schema](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-plugin-config-schema.md): Returns the JSON Schema for the canonical plugin configuration document. - [Function record_active_plugin_runtime_diagnostic](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-record-active-plugin-runtime-diagnostic.md): Updates the existing active-only runtime report. - [Function register_plugin](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-register-plugin.md): Registers a plugin by kind. - [Function rollback_registrations](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/fn-rollback-registrations.md): Rolls back registrations in reverse order. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/dev/reference/api/rust-library-reference/nemo-relay-plugin-host/type-result.md): Specialized `Result` type for plugin operations.