> For clean Markdown of any page, append .md to the page URL. For a task-oriented documentation index, fetch https://docs.nvidia.com/nemo/relay/llms.txt. Use the documentation version matching the installed NeMo Relay package: latest follows the latest stable release, vX.Y.Z identifies a retained release snapshot, and dev documents development changes. Preserve the selected version when following links; do not mix examples or API contracts from different versions. Fetch the relevant section's /llms.txt before individual pages instead of loading a complete version index. # nemo-relay-plugin > Shared in-process plugin contracts, stable native ABI, and Rust authoring helpers. 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`. Shared in-process plugin contracts, stable native ABI, and Rust authoring helpers. This crate intentionally does not depend on the `nemo-relay` runtime crate. Native plugins built with it communicate with a host through versioned checked ABI-safe values and foreign futures. ## Re-exports * `pub use nemo_relay_plugin_abi as abi;` ## Modules * [abi_value](/reference/api/rust-library-reference/nemo-relay-plugin/abi_value): Lossless SDK JSON conversions. Typed JSON conversion without encoding or parsing JSON text. * [component](/reference/api/rust-library-reference/nemo-relay-plugin/component): Shared built-in component contracts. In-process plugin contracts shared by built-in components and runtime hosts. * [diagnostics](/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics): Diagnostic submission and authorized reads. Native diagnostic authoring and explicitly authorized canonical reads. Recording is synchronous, state-only, and independent of operational logs. Disabled/unsupported facades skip factories. Diagnostic errors must not be propagated as plugin execution failures unless the application chooses so. ## Macros * [nemo_relay_checked_plugin](/reference/api/rust-library-reference/nemo-relay-plugin/macro-nemo-relay-checked-plugin): Export a native plugin with SDK-derived checked contract metadata. * [nemo_relay_plugin](/reference/api/rust-library-reference/nemo-relay-plugin/macro-nemo-relay-plugin): Export a checked native plugin with its SDK-required contract version. * [relay_debug](/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-debug): Emit a formatted debug-level native-plugin record through the Relay host. * [relay_error](/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-error): Emit a formatted error-level native-plugin record through the Relay host. * [relay_info](/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-info): Emit a formatted info-level native-plugin record through the Relay host. * [relay_trace](/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-trace): Emit a formatted trace-level native-plugin record through the Relay host. * [relay_warn](/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-warn): Emit a formatted warn-level native-plugin record through the Relay host. ## Structs * [AnnotatedLlmRequest](/reference/api/rust-library-reference/nemo-relay-plugin/struct-annotatedllmrequest): Structured view of an LLM request, produced by a Codec from opaque [`LlmRequest`](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequest) content. * [AnnotatedLlmResponse](/reference/api/rust-library-reference/nemo-relay-plugin/struct-annotatedllmresponse): Structured view of an LLM response, produced by a response codec from raw JSON API output. * [ApplicationExecutionContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-applicationexecutioncontext): Concrete invocation-local context owned by Relay. * [CategoryProfile](/reference/api/rust-library-reference/nemo-relay-plugin/struct-categoryprofile): Category-specific profile data. * [ConditionalMiddlewareGuardrailHandle](/reference/api/rust-library-reference/nemo-relay-plugin/struct-conditionalmiddlewareguardrailhandle) * [ConfigDiagnostic](/reference/api/rust-library-reference/nemo-relay-plugin/struct-configdiagnostic): Structured diagnostic reported while validating or activating plugin configuration. * [ContentSnapshot](/reference/api/rust-library-reference/nemo-relay-plugin/struct-contentsnapshot): Owned snapshot; materialization copies selected content for transport or independent retention. * [CostEstimate](/reference/api/rust-library-reference/nemo-relay-plugin/struct-costestimate): Normalized LLM response cost. * [DataSchema](/reference/api/rust-library-reference/nemo-relay-plugin/struct-dataschema): Identifier for the schema that describes an event's opaque `data` payload. * [EmitMarkOptions](/reference/api/rust-library-reference/nemo-relay-plugin/struct-emitmarkoptions): Optional event parent, time, schema, and severity for a native mark. * [EventCategory](/reference/api/rust-library-reference/nemo-relay-plugin/struct-eventcategory): Semantic category carried by ATOF `category`. * [EventSanitizeFields](/reference/api/rust-library-reference/nemo-relay-plugin/struct-eventsanitizefields): Observability fields that event sanitizers may rewrite. * [LlmApplicationExecutionContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmapplicationexecutioncontext): Application data passed to execution intercepts for one LLM call. Application context for one LLM call. * [LlmAttributes](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmattributes): Bitflags that modify LLM-call behavior and observability. * [LlmExecutionContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmexecutioncontext) * [LlmInputStream](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llminputstream): Downstream LLM stream that reports whether its cleanup succeeded. * [LlmNext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmnext) * [LlmOptimizationContribution](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationcontribution): One optimizer's evidence for a change to an LLM call. * [LlmOptimizationKind](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationkind): Open, forward-compatible optimization classification. * [LlmOptimizationModel](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationmodel): Model identity used for counterfactual and effective pricing. * [LlmOptimizationModelTransition](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationmodeltransition): A model change proposed or applied by an optimizer. * [LlmOptimizationSummary](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationsummary): Close-time accounting attached to the normalized LLM response. * [LlmOptimizationTokenImpact](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationtokenimpact): Shared token evidence that Relay can aggregate without understanding a plugin payload. * [LlmOptimizationTokens](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationtokens): Token quantities retained independently from pricing arithmetic. * [LlmRequest](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequest): JSON-shaped LLM request payload passed through the runtime. * [LlmRequestContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequestcontext) * [LlmRequestInterceptOutcome](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequestinterceptoutcome): Result of an LLM request intercept that can schedule lifecycle marks. * [LlmResponseContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmresponsecontext) * [LlmSanitizeRequestContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmsanitizerequestcontext) * [LlmSanitizeResponseContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmsanitizeresponsecontext) * [LlmStreamNext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmstreamnext) * [Map](/reference/api/rust-library-reference/nemo-relay-plugin/struct-map): Represents a JSON key/value type. * [MetricEnvelope](/reference/api/rust-library-reference/nemo-relay-plugin/struct-metricenvelope): Payload stored in a mark using [`METRIC_DATA_SCHEMA_NAME`](/reference/api/rust-library-reference/nemo-relay-plugin/constant-metric-data-schema-name). * [MetricMeasurement](/reference/api/rust-library-reference/nemo-relay-plugin/struct-metricmeasurement): One recording operation in a Relay metric mark. * [NativeExecutorConfig](/reference/api/rust-library-reference/nemo-relay-plugin/struct-nativeexecutorconfig): Configuration used when a native plugin opts into a shared Tokio runtime. * [PendingMarkSpec](/reference/api/rust-library-reference/nemo-relay-plugin/struct-pendingmarkspec): Mark requested by middleware for materialization by a lifecycle owner. * [PluginContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-plugincontext) * [PluginRuntime](/reference/api/rust-library-reference/nemo-relay-plugin/struct-pluginruntime) * [PluginTaskSpawner](/reference/api/rust-library-reference/nemo-relay-plugin/struct-plugintaskspawner): Cloneable admission handle for background tasks owned by one native component. * [RuntimeDiagnostic](/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimediagnostic): One bounded runtime diagnostic reported by the Relay host. * [RuntimeDiagnostics](/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimediagnostics): Bounded snapshot of active host runtime diagnostics. * [RuntimeRegistrationIdentity](/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimeregistrationidentity): Structured identity for a global gateable runtime registration. * [RuntimeRegistrationOwner](/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimeregistrationowner): Discovery metadata describing the owner of a runtime registration. * [ScopeAttributes](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeattributes): Bitflags that modify scope behavior and observability. * [ScopeGuard](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeguard) * [ScopeHandle](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopehandle) * [ScopeOptions](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeoptions): Optional parent, behavior flags, and start time for a native scope. * [ScopeStack](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestack) * [ScopeStackBinding](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestackbinding) * [ScopeStackEntry](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestackentry): Identity of one entry in the visible Relay scope stack. * [ScopeStackSnapshot](/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestacksnapshot): Owned root-to-top values from one coherent read of a visible scope stack. * [ThreadScopeStackGuard](/reference/api/rust-library-reference/nemo-relay-plugin/struct-threadscopestackguard) * [ToolAttributes](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolattributes): Bitflags that modify tool-call behavior and observability. * [ToolExecutionContext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutioncontext): Transport-independent input supplied to a plugin tool execution interceptor. * [ToolExecutionInterceptOutcome](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutioninterceptoutcome): Canonical result returned by a tool execution intercept. * [ToolExecutionResult](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutionresult): Canonical application-visible result of tool execution. * [ToolNext](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolnext) * [Usage](/reference/api/rust-library-reference/nemo-relay-plugin/struct-usage): Token usage statistics from an LLM API response. ## Enums * [BuiltinLlmCodec](/reference/api/rust-library-reference/nemo-relay-plugin/enum-builtinllmcodec): Relay's built-in LLM codec identities. * [ContentSelection](/reference/api/rust-library-reference/nemo-relay-plugin/enum-contentselection): Selection applied before extraction. Invalid source/selection pairs are errors. * [ContentSource](/reference/api/rust-library-reference/nemo-relay-plugin/enum-contentsource): Borrowed normalized input for content inspection; no provider decoding occurs. * [DiagnosticLevel](/reference/api/rust-library-reference/nemo-relay-plugin/enum-diagnosticlevel): Severity of a plugin configuration or activation diagnostic. * [Event](/reference/api/rust-library-reference/nemo-relay-plugin/enum-event): Tagged union covering the two ATOF event kinds emitted by the runtime. * [HandleAttributes](/reference/api/rust-library-reference/nemo-relay-plugin/enum-handleattributes): Attribute bitflags attached to a concrete handle kind. * [LlmCodecIdentity](/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmcodecidentity): Per-call LLM codec identity supplied to sanitizer and SDK callbacks. * [LlmOptimizationEvidenceQuality](/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmoptimizationevidencequality): Whether token evidence was observed directly or estimated. * [LlmOptimizationSummaryStatus](/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmoptimizationsummarystatus): Completeness of close-time optimization accounting. * [LogSeverity](/reference/api/rust-library-reference/nemo-relay-plugin/enum-logseverity): Severity attached to a mark that may be projected as an OpenTelemetry log. * [MetricKind](/reference/api/rust-library-reference/nemo-relay-plugin/enum-metrickind): OpenTelemetry instrument kind represented by a metric measurement mark. * [MetricValueType](/reference/api/rust-library-reference/nemo-relay-plugin/enum-metricvaluetype): Numeric representation used by a metric measurement. * [PluginError](/reference/api/rust-library-reference/nemo-relay-plugin/enum-pluginerror): Error type for generic plugin operations. * [PluginLogLevel](/reference/api/rust-library-reference/nemo-relay-plugin/enum-pluginloglevel): Operational log severity routed through the component runtime. * [RuntimeRegistrationKind](/reference/api/rust-library-reference/nemo-relay-plugin/enum-runtimeregistrationkind): A global runtime registration surface that can be selected by a conditional middleware guardrail. * [RuntimeRegistrationOwnerKind](/reference/api/rust-library-reference/nemo-relay-plugin/enum-runtimeregistrationownerkind): The owner category reported for a global runtime registration. * [ScopeCategory](/reference/api/rust-library-reference/nemo-relay-plugin/enum-scopecategory): Agent Trajectory Observability Format (ATOF) lifecycle phase for a scope event. * [ScopeType](/reference/api/rust-library-reference/nemo-relay-plugin/enum-scopetype): Semantic category attached to a scope lifecycle span. ## Constants * [METRIC_DATA_SCHEMA_NAME](/reference/api/rust-library-reference/nemo-relay-plugin/constant-metric-data-schema-name): Relay-owned schema name for mark payloads containing metric measurements. * [METRIC_DATA_SCHEMA_VERSION](/reference/api/rust-library-reference/nemo-relay-plugin/constant-metric-data-schema-version): Current Relay-owned metric measurement schema version. * [TOOL_EXECUTION_INTERCEPT_OUTCOME_SCHEMA](/reference/api/rust-library-reference/nemo-relay-plugin/constant-tool-execution-intercept-outcome-schema): Versioned native-plugin JSON envelope schema for [`ToolExecutionInterceptOutcome`](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutioninterceptoutcome). * [TOOL_EXECUTION_RESULT_SCHEMA](/reference/api/rust-library-reference/nemo-relay-plugin/constant-tool-execution-result-schema): Versioned native-plugin JSON envelope schema for [`ToolExecutionResult`](/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutionresult). ## Traits * [LlmOptimizationPayload](/reference/api/rust-library-reference/nemo-relay-plugin/trait-llmoptimizationpayload): Trait implemented by typed plugin payloads embedded in an optimization contribution. * [NativePlugin](/reference/api/rust-library-reference/nemo-relay-plugin/trait-nativeplugin) * [Plugin](/reference/api/rust-library-reference/nemo-relay-plugin/trait-plugin) ## Functions * [http_error_message](/reference/api/rust-library-reference/nemo-relay-plugin/fn-http-error-message): Formats an upstream HTTP error for transport through string-based plugin callbacks. ## Type Aliases * [Json](/reference/api/rust-library-reference/nemo-relay-plugin/type-json): Type alias for [`serde_json::Value`](https://docs.rs/serde_json/1.0.149/serde_json/value/enum.Value.html), used as the universal JSON representation throughout NeMo Relay APIs. * [LlmJsonAsyncStream](/reference/api/rust-library-reference/nemo-relay-plugin/type-llmjsonasyncstream) * [PluginFuture](/reference/api/rust-library-reference/nemo-relay-plugin/type-pluginfuture): Shared future returned by Rust plugin activation methods. * [Result](/reference/api/rust-library-reference/nemo-relay-plugin/type-result): Result returned by native SDK helpers. ## Docs - [Module abi_value](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/abi_value.md): Lossless SDK JSON conversions. Typed JSON conversion without encoding or parsing JSON text. - [Function from_abi](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/abi_value/fn-from-abi.md): Recover an SDK value, rejecting values outside JSON's representation. - [Function into_abi](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/abi_value/fn-into-abi.md): Move an SDK value into an owned ABI-safe tree. - [Function to_abi](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/abi_value/fn-to-abi.md): Copy an SDK value into an ABI-safe tree without first cloning an SDK tree. - [Module component](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component.md): Shared built-in component contracts. In-process plugin contracts shared by built-in components and runtime hosts. - [Struct Config Diagnostic](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-configdiagnostic.md): Structured diagnostic reported while validating or activating plugin configuration. - [Struct Config Policy](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-configpolicy.md): Policy for how unsupported plugin/runtime config is handled. - [Struct Map](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-map.md): Represents a JSON key/value type. - [Struct Plugin Component Spec](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-plugincomponentspec.md): One configured plugin component. - [Struct Plugin Registration](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-pluginregistration.md): Bookkeeping for one middleware/subscriber registration. - [Struct Runtime Diagnostic](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/struct-runtimediagnostic.md): Bounded aggregate for a runtime failure observed by an active plugin. - [Enum Diagnostic Level](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/enum-diagnosticlevel.md): Severity of a plugin configuration or activation diagnostic. - [Enum Plugin Error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/enum-pluginerror.md): Error type for generic plugin operations. - [Enum Plugin Registration Cleanup Outcome](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/enum-pluginregistrationcleanupoutcome.md): Outcome of a tracked resource cleanup operation. - [Enum Unsupported Behavior](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/enum-unsupportedbehavior.md): Per-policy behavior for unsupported configuration. - [Trait Plugin](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/trait-plugin.md): Implemented by custom plugins that register runtime middleware. - [Trait Plugin Registration Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/trait-pluginregistrationcontext.md): Host capabilities available to plugins during component activation. - [Function apply_global_config_policy](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/fn-apply-global-config-policy.md): Applies non-default global policy fields to a component policy. - [Type Alias Plugin Future](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/type-pluginfuture.md): Shared future returned by Rust plugin activation methods. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/component/type-result.md): Result of validating, activating, or cleaning up a component. - [Module diagnostics](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics.md): Diagnostic submission and authorized reads. Native diagnostic authoring and explicitly authorized canonical reads. Recording is synchronous, state-only, and independent of operational logs. Disabled/unsupported facades skip factories. Diagnostic errors must not be propagated as plugin execution failures unless the application chooses so. - [Module limits](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits.md): Bounds used by native diagnostic authoring and host admission. Native diagnostic admission limits. - [Constant CONTRACT_VERSION](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-contract-version.md): Typed diagnostic transport revision. - [Constant MAX_CALLS](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-calls.md): Maximum concurrent native data calls per host process. - [Constant MAX_CLASSES](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-classes.md): Maximum classes per extension. - [Constant MAX_CODES](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-codes.md): Maximum declared codes per component. - [Constant MAX_COMPONENTS](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-components.md): Maximum simultaneously live component registrations per activation. - [Constant MAX_EXTENSIONS](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-extensions.md): Maximum cumulative extension declarations per activation. - [Constant MAX_REQUEST_BYTES](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-request-bytes.md): Maximum total text bytes in a native request. - [Constant MAX_SESSIONS](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/limits/constant-max-sessions.md): Maximum concurrently admitted authoring sessions per host process. - [Struct Classification](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-classification.md): Shared classification payload for producers, projections, and decoded evidence. - [Struct Classification Error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-classificationerror.md): A cause is missing, forbidden, or unsupported by the selected catalogue code. - [Struct Component Declaration](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-componentdeclaration.md): Borrowed component declaration evaluated only when collection is available. - [Struct Delivery Stats](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-deliverystats.md): Local delivery totals, not core observation or retention totals. - [Struct Diagnostic Component](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticcomponent.md): Shared producer registration. Last drop closes it; explicit close fences clones. - [Struct Diagnostic Correlation](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticcorrelation.md): Optional caller correlation identifiers, excluded from aggregation keys. - [Struct Diagnostic Count](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticcount.md): Magnitude of an occurrence or loss counter, including overflow visibility. - [Struct Diagnostic Discovery](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticdiscovery.md): Side-effect-free discovery, available even when snapshot queries are disabled. - [Struct Diagnostic Memory Page](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticmemorypage.md): Bounded independent memory view; inspection neither records nor freezes history. - [Struct Diagnostic Query](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticquery.md): Portable bounded selection; consumers never reset or mutate evidence. - [Struct Diagnostic Reader](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticreader.md): Authorized read facade; each call independently checks live host authority. - [Struct Diagnostic Snapshot](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnosticsnapshot.md): Read evidence from one source incarnation, using the canonical snapshot schema. - [Struct Diagnostics](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-diagnostics.md): Cloneable activation-scoped diagnostic facade. It does not start a service. Clones share four concurrent-call slots and one in-flight read-buffer slot. Same-thread recursion into the same activation returns `DiagnosticError::Busy`. - [Struct Observation](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-observation.md): Typed observation with borrowed detail and shared caller correlation. - [Struct Record Receipt](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/struct-recordreceipt.md): Accepted lifetime and current-summary update. - [Enum Builtin Diagnostic Code](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-builtindiagnosticcode.md): Fixed-size canonical authoring value with one authoritative hierarchy. - [Enum Common Plugin Failure Code](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-commonpluginfailurecode.md): Plugin failures supported by phase-one activation recording. - [Enum Diagnostic Availability](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticavailability.md): Availability of evidence, without applying deployment or application health. - [Enum Diagnostic Code](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticcode.md): One declared code. Extension namespace and component ownership are host-assigned. - [Enum Diagnostic Error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticerror.md): Diagnostic operation error. These values never classify plugin execution. - [Enum Diagnostic Outcome](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticoutcome.md): Observed operation outcome; severity does not imply this value. - [Enum Diagnostic Read Reason](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticreadreason.md): Stable reasons shared by canonical snapshot adapters. These are operation results, never a source health classification or a producer failure code. Include a fallback arm when matching: future releases can add reasons. - [Enum Diagnostic Severity](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-diagnosticseverity.md): Severity of evidence, independent of an operation's outcome. - [Enum Evidence Disposition](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-evidencedisposition.md): Evidence retention is independent of numeric acceptance. - [Enum Failure Class](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-failureclass.md): Supported general cause, independent of health, retries, and operation outcome. - [Enum Failure Code](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-failurecode.md): Failure event hierarchy for integrated producers. - [Enum Plugin Failure Code](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-pluginfailurecode.md): Plugin failure hierarchy for integrated producers. - [Enum Record Outcome](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/enum-recordoutcome.md): Accepted collection or intentional disablement. - [Trait Diagnostic Classifier](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/diagnostics/trait-diagnosticclassifier.md): Pure producer behavior: borrow original evidence and return shared classification metadata. - [Macro nemo_relay_checked_plugin](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-nemo-relay-checked-plugin.md): Export a native plugin with SDK-derived checked contract metadata. - [Macro nemo_relay_plugin](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-nemo-relay-plugin.md): Export a checked native plugin with its SDK-required contract version. - [Macro relay_debug](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-debug.md): Emit a formatted debug-level native-plugin record through the Relay host. - [Macro relay_error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-error.md): Emit a formatted error-level native-plugin record through the Relay host. - [Macro relay_info](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-info.md): Emit a formatted info-level native-plugin record through the Relay host. - [Macro relay_trace](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-trace.md): Emit a formatted trace-level native-plugin record through the Relay host. - [Macro relay_warn](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/macro-relay-warn.md): Emit a formatted warn-level native-plugin record through the Relay host. - [Struct Annotated LlmRequest](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-annotatedllmrequest.md): Structured view of an LLM request, produced by a Codec from opaque `LlmRequest` content. - [Struct Annotated LlmResponse](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-annotatedllmresponse.md): Structured view of an LLM response, produced by a response codec from raw JSON API output. - [Struct Application Execution Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-applicationexecutioncontext.md): Concrete invocation-local context owned by Relay. - [Struct Category Profile](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-categoryprofile.md): Category-specific profile data. - [Struct Conditional Middleware Guardrail Handle](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-conditionalmiddlewareguardrailhandle.md): API documentation for the Rust `ConditionalMiddlewareGuardrailHandle` struct in crate `nemo_relay_plugin`. - [Struct Config Diagnostic](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-configdiagnostic.md): Structured diagnostic reported while validating or activating plugin configuration. - [Struct Content Snapshot](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-contentsnapshot.md): Owned snapshot; materialization copies selected content for transport or independent retention. - [Struct Cost Estimate](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-costestimate.md): Normalized LLM response cost. - [Struct Data Schema](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-dataschema.md): Identifier for the schema that describes an event's opaque `data` payload. - [Struct Emit Mark Options](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-emitmarkoptions.md): Optional event parent, time, schema, and severity for a native mark. - [Struct Event Category](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-eventcategory.md): Semantic category carried by ATOF `category`. - [Struct Event Sanitize Fields](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-eventsanitizefields.md): Observability fields that event sanitizers may rewrite. - [Struct LlmApplication Execution Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmapplicationexecutioncontext.md): Application data passed to execution intercepts for one LLM call. Application context for one LLM call. - [Struct LlmAttributes](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmattributes.md): Bitflags that modify LLM-call behavior and observability. - [Struct LlmExecution Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmexecutioncontext.md): API documentation for the Rust `LlmExecutionContext` struct in crate `nemo_relay_plugin`. - [Struct LlmInput Stream](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llminputstream.md): Downstream LLM stream that reports whether its cleanup succeeded. - [Struct LlmNext](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmnext.md): API documentation for the Rust `LlmNext` struct in crate `nemo_relay_plugin`. - [Struct LlmOptimization Contribution](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationcontribution.md): One optimizer's evidence for a change to an LLM call. - [Struct LlmOptimization Kind](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationkind.md): Open, forward-compatible optimization classification. - [Struct LlmOptimization Model](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationmodel.md): Model identity used for counterfactual and effective pricing. - [Struct LlmOptimization Model Transition](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationmodeltransition.md): A model change proposed or applied by an optimizer. - [Struct LlmOptimization Summary](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationsummary.md): Close-time accounting attached to the normalized LLM response. - [Struct LlmOptimization Token Impact](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationtokenimpact.md): Shared token evidence that Relay can aggregate without understanding a plugin payload. - [Struct LlmOptimization Tokens](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmoptimizationtokens.md): Token quantities retained independently from pricing arithmetic. - [Struct LlmRequest](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequest.md): JSON-shaped LLM request payload passed through the runtime. - [Struct LlmRequest Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequestcontext.md): API documentation for the Rust `LlmRequestContext` struct in crate `nemo_relay_plugin`. - [Struct LlmRequest Intercept Outcome](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmrequestinterceptoutcome.md): Result of an LLM request intercept that can schedule lifecycle marks. - [Struct LlmResponse Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmresponsecontext.md): API documentation for the Rust `LlmResponseContext` struct in crate `nemo_relay_plugin`. - [Struct LlmSanitize Request Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmsanitizerequestcontext.md): API documentation for the Rust `LlmSanitizeRequestContext` struct in crate `nemo_relay_plugin`. - [Struct LlmSanitize Response Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmsanitizeresponsecontext.md): API documentation for the Rust `LlmSanitizeResponseContext` struct in crate `nemo_relay_plugin`. - [Struct LlmStream Next](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-llmstreamnext.md): API documentation for the Rust `LlmStreamNext` struct in crate `nemo_relay_plugin`. - [Struct Map](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-map.md): Represents a JSON key/value type. - [Struct Metric Envelope](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-metricenvelope.md): Payload stored in a mark using `METRIC_DATA_SCHEMA_NAME`. - [Struct Metric Measurement](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-metricmeasurement.md): One recording operation in a Relay metric mark. - [Struct Native Executor Config](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-nativeexecutorconfig.md): Configuration used when a native plugin opts into a shared Tokio runtime. - [Struct Pending Mark Spec](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-pendingmarkspec.md): Mark requested by middleware for materialization by a lifecycle owner. - [Struct Plugin Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-plugincontext.md): API documentation for the Rust `PluginContext` struct in crate `nemo_relay_plugin`. - [Struct Plugin Runtime](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-pluginruntime.md): API documentation for the Rust `PluginRuntime` struct in crate `nemo_relay_plugin`. - [Struct Plugin Task Spawner](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-plugintaskspawner.md): Cloneable admission handle for background tasks owned by one native component. - [Struct Runtime Diagnostic](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimediagnostic.md): One bounded runtime diagnostic reported by the Relay host. - [Struct Runtime Diagnostics](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimediagnostics.md): Bounded snapshot of active host runtime diagnostics. - [Struct Runtime Registration Identity](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimeregistrationidentity.md): Structured identity for a global gateable runtime registration. - [Struct Runtime Registration Owner](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-runtimeregistrationowner.md): Discovery metadata describing the owner of a runtime registration. - [Struct Scope Attributes](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeattributes.md): Bitflags that modify scope behavior and observability. - [Struct Scope Guard](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeguard.md): API documentation for the Rust `ScopeGuard` struct in crate `nemo_relay_plugin`. - [Struct Scope Handle](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopehandle.md): API documentation for the Rust `ScopeHandle` struct in crate `nemo_relay_plugin`. - [Struct Scope Options](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopeoptions.md): Optional parent, behavior flags, and start time for a native scope. - [Struct Scope Stack](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestack.md): API documentation for the Rust `ScopeStack` struct in crate `nemo_relay_plugin`. - [Struct Scope Stack Binding](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestackbinding.md): API documentation for the Rust `ScopeStackBinding` struct in crate `nemo_relay_plugin`. - [Struct Scope Stack Entry](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestackentry.md): Identity of one entry in the visible Relay scope stack. - [Struct Scope Stack Snapshot](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-scopestacksnapshot.md): Owned root-to-top values from one coherent read of a visible scope stack. - [Struct Thread Scope Stack Guard](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-threadscopestackguard.md): API documentation for the Rust `ThreadScopeStackGuard` struct in crate `nemo_relay_plugin`. - [Struct Tool Attributes](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolattributes.md): Bitflags that modify tool-call behavior and observability. - [Struct Tool Execution Context](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutioncontext.md): Transport-independent input supplied to a plugin tool execution interceptor. - [Struct Tool Execution Intercept Outcome](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutioninterceptoutcome.md): Canonical result returned by a tool execution intercept. - [Struct Tool Execution Result](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolexecutionresult.md): Canonical application-visible result of tool execution. - [Struct Tool Next](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-toolnext.md): API documentation for the Rust `ToolNext` struct in crate `nemo_relay_plugin`. - [Struct Usage](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/struct-usage.md): Token usage statistics from an LLM API response. - [Enum Builtin LlmCodec](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-builtinllmcodec.md): Relay's built-in LLM codec identities. - [Enum Content Selection](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-contentselection.md): Selection applied before extraction. Invalid source/selection pairs are errors. - [Enum Content Source](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-contentsource.md): Borrowed normalized input for content inspection; no provider decoding occurs. - [Enum Diagnostic Level](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-diagnosticlevel.md): Severity of a plugin configuration or activation diagnostic. - [Enum Event](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-event.md): Tagged union covering the two ATOF event kinds emitted by the runtime. - [Enum Handle Attributes](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-handleattributes.md): Attribute bitflags attached to a concrete handle kind. - [Enum LlmCodec Identity](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmcodecidentity.md): Per-call LLM codec identity supplied to sanitizer and SDK callbacks. - [Enum LlmOptimization Evidence Quality](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmoptimizationevidencequality.md): Whether token evidence was observed directly or estimated. - [Enum LlmOptimization Summary Status](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-llmoptimizationsummarystatus.md): Completeness of close-time optimization accounting. - [Enum LogSeverity](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-logseverity.md): Severity attached to a mark that may be projected as an OpenTelemetry log. - [Enum Metric Kind](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-metrickind.md): OpenTelemetry instrument kind represented by a metric measurement mark. - [Enum Metric Value Type](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-metricvaluetype.md): Numeric representation used by a metric measurement. - [Enum Plugin Error](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-pluginerror.md): Error type for generic plugin operations. - [Enum Plugin LogLevel](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-pluginloglevel.md): Operational log severity routed through the component runtime. - [Enum Runtime Registration Kind](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-runtimeregistrationkind.md): A global runtime registration surface that can be selected by a conditional middleware guardrail. - [Enum Runtime Registration Owner Kind](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-runtimeregistrationownerkind.md): The owner category reported for a global runtime registration. - [Enum Scope Category](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-scopecategory.md): Agent Trajectory Observability Format (ATOF) lifecycle phase for a scope event. - [Enum Scope Type](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/enum-scopetype.md): Semantic category attached to a scope lifecycle span. - [Constant METRIC_DATA_SCHEMA_NAME](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/constant-metric-data-schema-name.md): Relay-owned schema name for mark payloads containing metric measurements. - [Constant METRIC_DATA_SCHEMA_VERSION](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/constant-metric-data-schema-version.md): Current Relay-owned metric measurement schema version. - [Constant TOOL_EXECUTION_INTERCEPT_OUTCOME_SCHEMA](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/constant-tool-execution-intercept-outcome-schema.md): Versioned native-plugin JSON envelope schema for `ToolExecutionInterceptOutcome`. - [Constant TOOL_EXECUTION_RESULT_SCHEMA](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/constant-tool-execution-result-schema.md): Versioned native-plugin JSON envelope schema for `ToolExecutionResult`. - [Trait LlmOptimization Payload](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/trait-llmoptimizationpayload.md): Trait implemented by typed plugin payloads embedded in an optimization contribution. - [Trait Native Plugin](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/trait-nativeplugin.md): API documentation for the Rust `NativePlugin` trait in crate `nemo_relay_plugin`. - [Trait Plugin](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/trait-plugin.md): API documentation for the Rust `Plugin` trait in crate `nemo_relay_plugin`. - [Function http_error_message](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/fn-http-error-message.md): Formats an upstream HTTP error for transport through string-based plugin callbacks. - [Type Alias Json](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/type-json.md): Type alias for `serde_json::Value`, used as the universal JSON representation throughout NeMo Relay APIs. - [Type Alias LlmJson Async Stream](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/type-llmjsonasyncstream.md): API documentation for the Rust `LlmJsonAsyncStream` type in crate `nemo_relay_plugin`. - [Type Alias Plugin Future](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/type-pluginfuture.md): Shared future returned by Rust plugin activation methods. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v1.0.0/reference/api/rust-library-reference/nemo-relay-plugin/type-result.md): Result returned by native SDK helpers.