> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/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 > NeMo Relay Core Generated from `cargo doc --no-deps -p nemo-relay -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`. ## NeMo Relay Core The core runtime library for the NeMo Relay multi-language agent framework. This crate provides execution scope management, lifecycle event tracking, and middleware pipelines (guardrails and intercepts) for tool and LLM calls. ### Architecture The runtime is organized around a **global context** ([`api::runtime::NemoRelayContextState`](/reference/api/rust-library-reference/nemo-relay/api/runtime/state/struct-nemorelaycontextstate)) that holds all registered middleware (guardrails, intercepts, subscribers) and a **scope stack** ([`api::runtime::ScopeStack`](/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-scopestack)) that tracks the hierarchical execution context via task-local or thread-local storage. ### Primary Entry Points Most integrations start with the high-level lifecycle helpers in [`api`](/reference/api/rust-library-reference/nemo-relay/api): * [`api::scope::push_scope`](/reference/api/rust-library-reference/nemo-relay/api/scope/fn-push-scope) / [`api::scope::pop_scope`](/reference/api/rust-library-reference/nemo-relay/api/scope/fn-pop-scope) create nested execution scopes. * [`api::tool::tool_call_execute`](/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-call-execute) runs a complete tool middleware pipeline. * [`api::llm::llm_call_execute`](/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-call-execute) and [`api::llm::llm_stream_call_execute`](/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-stream-call-execute) run non-streaming and streaming LLM middleware pipelines. * [`api::registry`](/reference/api/rust-library-reference/nemo-relay/api/registry) exposes global and scope-local middleware registration APIs. * [`api::subscriber`](/reference/api/rust-library-reference/nemo-relay/api/subscriber) exposes lifecycle event subscriber registration APIs. #### Modules * [`api`](/reference/api/rust-library-reference/nemo-relay/api) - Public API functions, handles, lifecycle event types, runtime helpers, and guardrail/intercept/subscriber registration. These are the primary entry points. * [`error`](/reference/api/rust-library-reference/nemo-relay/error) - Error types ([`error::FlowError`](/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror)) and the [`error::Result`](/reference/api/rust-library-reference/nemo-relay/error/type-result) type alias. * [`json`](/reference/api/rust-library-reference/nemo-relay/json) - JSON type alias ([`json::Json`](/reference/api/rust-library-reference/nemo-relay/json/type-json)) and the [`json::merge_json`](/reference/api/rust-library-reference/nemo-relay/json/fn-merge-json) utility. * [`logging`](/reference/api/rust-library-reference/nemo-relay/logging) - Process operational logging (`log` facade + configurable stderr/file sinks). * [`observability`](/reference/api/rust-library-reference/nemo-relay/observability) - Built-in observability backends including [`atif::AtifExporter`](/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifexporter), [`otel::OpenTelemetrySubscriber`](/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-opentelemetrysubscriber), with full, GenAI, or OpenInference projection. * [`stream`](/reference/api/rust-library-reference/nemo-relay/stream) - [`stream::LlmStreamWrapper`](/reference/api/rust-library-reference/nemo-relay/stream/struct-llmstreamwrapper) - a stream adapter that applies per-chunk intercepts and aggregates streaming LLM responses. ### Middleware Pipeline Both tool and LLM calls flow through a configurable middleware pipeline: 1. **Request intercepts** - transform the request before execution 2. **Sanitize request guardrails** - sanitize/normalize the request 3. **Conditional execution guardrails** - gate execution (reject if criteria not met) 4. **Execution intercepts** - optionally replace the execution function entirely 5. **Sanitize response guardrails** - sanitize/normalize the response All middleware is priority-ordered (ascending) and registered by name for easy addition and removal at runtime. ## Modules * [api](/reference/api/rust-library-reference/nemo-relay/api): Public API for the NeMo Relay runtime. * [codec](/reference/api/rust-library-reference/nemo-relay/codec): LLM codecs and the shared JSON format for tool results. * [config_editor](/reference/api/rust-library-reference/nemo-relay/config_editor): Typed configuration editor metadata. * [diagnostics](/reference/api/rust-library-reference/nemo-relay/diagnostics): Bounded, process-local diagnostic evidence, independent of logger startup. * [error](/reference/api/rust-library-reference/nemo-relay/error): Error types for the NeMo Relay runtime. * [json](/reference/api/rust-library-reference/nemo-relay/json): JSON utilities for the NeMo Relay runtime. * [logging](/reference/api/rust-library-reference/nemo-relay/logging): Operational process logging for Relay (stderr + optional file sinks). * [observability](/reference/api/rust-library-reference/nemo-relay/observability): Optional observability integrations for NeMo Relay Core. * [plugin](/reference/api/rust-library-reference/nemo-relay/plugin): Generic plugin infrastructure for NeMo Relay runtimes. * [plugins](/reference/api/rust-library-reference/nemo-relay/plugins): First-party plugin implementations for NeMo Relay Core. * [stream](/reference/api/rust-library-reference/nemo-relay/stream): Streaming LLM response wrapper. ## Macros * [editor_config](/reference/api/rust-library-reference/nemo-relay/macro-editor-config): Implements [`EditorConfig`](/reference/api/rust-library-reference/nemo-relay/config_editor/trait-editorconfig) for a configuration type. > NeMo Relay Core ## Docs - [Module api](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api.md): Public API for the NeMo Relay runtime. - [Module event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event.md): Lifecycle event types and builder-backed event constructors. Event types for Agent Trajectory Observability Format (ATOF) runtime events. - [Struct Base Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-baseevent.md): Shared event metadata carried by every ATOF event. - [Struct Category Profile](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-categoryprofile.md): Category-specific profile data. - [Struct Data Schema](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-dataschema.md): Identifier for the schema that describes an event's opaque `data` payload. - [Struct Event Category](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-eventcategory.md): Semantic category carried by ATOF `category`. - [Struct Event Sanitize Fields](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-eventsanitizefields.md): Observability fields that event sanitizers may rewrite. - [Struct Finite F64](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-finitef64.md): A finite IEEE 754 double-precision value. - [Struct Histogram Boundaries](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-histogramboundaries.md): Explicit histogram bucket boundaries that are finite and strictly increasing. - [Struct Instrument Descriptor](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-instrumentdescriptor.md): Descriptor fields shared by all recordings of an instrument. - [Struct Instrument Name](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-instrumentname.md): An OpenTelemetry instrument name together with its canonical form. - [Struct Mark Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-markevent.md): ATOF point-in-time mark event. - [Struct Metric Attributes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-metricattributes.md): A deterministic map of typed OpenTelemetry metric attributes. - [Struct Metric Envelope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-metricenvelope.md): Payload stored in a mark using `METRIC_DATA_SCHEMA_NAME`. - [Struct Metric Measurement](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-metricmeasurement.md): One recording operation in a Relay metric mark. - [Struct Metric Validation Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-metricvalidationerror.md): Validation error for a Relay metric envelope. - [Struct Parse LogSeverity Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-parselogseverityerror.md): Error returned when parsing an unsupported log severity. - [Struct Pending Mark Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-pendingmarkspec.md): Mark requested by middleware for materialization by a lifecycle owner. - [Struct Scope Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-scopeevent.md): ATOF scope lifecycle event. - [Struct Validated Metric Measurement](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/struct-validatedmetricmeasurement.md): Parsed metric measurement that is safe for OTLP export. - [Enum Attribute Value](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-attributevalue.md): Typed OpenTelemetry attribute values, including homogeneous primitive arrays. - [Enum Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-event.md): Tagged union covering the two ATOF event kinds emitted by the runtime. - [Enum LogSeverity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-metrickind.md): OpenTelemetry instrument kind represented by a metric measurement mark. - [Enum Metric Value](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-metricvalue.md): One typed metric value accepted by Relay's metric schema. - [Enum Metric Value Type](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-metricvaluetype.md): Numeric representation used by a metric measurement. - [Enum Scope Category](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/enum-scopecategory.md): Agent Trajectory Observability Format (ATOF) lifecycle phase for a scope event. - [Constant ATOF_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/constant-atof-version.md): Agent Trajectory Observability Format (ATOF) protocol version emitted by this runtime. - [Constant LOG_SEVERITY_METADATA_KEY](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/constant-log-severity-metadata-key.md): Reserved metadata key carrying the canonical severity of a mark exported as a log. - [Constant METRIC_DATA_SCHEMA_NAME](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/constant-metric-data-schema-version.md): Current Relay-owned metric measurement schema version. - [Trait Event Normalization Ext](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/trait-eventnormalizationext.md): Core-only normalized LLM accessors for ATOF events. - [Function attributes_from_handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/fn-attributes-from-handle.md): Convert handle bitflags into ATOF attributes. - [Function llm_attributes_to_strings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/fn-llm-attributes-to-strings.md): Convert LLM bitflags into ATOF attributes. - [Function scope_attributes_to_strings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/fn-scope-attributes-to-strings.md): Convert scope bitflags into ATOF attributes. - [Function tool_attributes_to_strings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/fn-tool-attributes-to-strings.md): Convert tool bitflags into ATOF attributes. - [Function validate_metric_measurements](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/event/fn-validate-metric-measurements.md): Validate a complete list of metric measurements atomically. - [Module llm](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm.md): LLM lifecycle helpers and managed execution entry points. - [Struct Create LlmHandle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-createllmhandleparams.md): Builder parameters for `NemoRelayContextState::create_llm_handle`. - [Struct EndLlm Handle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-endllmhandleparams.md): Builder parameters for `NemoRelayContextState::build_llm_end_event`. - [Struct LlmAttributes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmattributes.md): Bitflags that modify LLM-call behavior and observability. - [Struct LlmCall EndParams](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmcallendparams.md): Builder parameters for `llm_call_end`. - [Struct LlmCall Execute Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmcallexecuteparams.md): Builder parameters for `llm_call_execute`. - [Struct LlmCall Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmcallparams.md): Builder parameters for `llm_call`. - [Struct LlmHandle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmhandle.md): Runtime-owned handle identifying an active or completed LLM call. - [Struct LlmRequest](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmrequest.md): JSON-shaped LLM request payload passed through the runtime. - [Struct LlmRequest Intercept Outcome](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmrequestinterceptoutcome.md): Result of an LLM request intercept that can schedule lifecycle marks. - [Struct LlmStream Call Execute Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/struct-llmstreamcallexecuteparams.md): Builder parameters for `llm_stream_call_execute`. - [Constant LLM_REQUEST_INTERCEPT_OUTCOME_SCHEMA](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/constant-llm-request-intercept-outcome-schema.md): Versioned JSON envelope schema for `LlmRequestInterceptOutcome`. - [Function llm_call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-call.md): Start a manual LLM lifecycle span. - [Function llm_call_end](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-call-end.md): Finish a manual LLM lifecycle span. - [Function llm_call_execute](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-call-execute.md): Execute an LLM call through the managed middleware pipeline. - [Function llm_conditional_execution](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-conditional-execution.md): Run only the LLM conditional-execution guardrail chain. - [Function llm_request_intercepts](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-request-intercepts.md): Run only the LLM request-intercept chain. - [Function llm_stream_call_execute](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/llm/fn-llm-stream-call-execute.md): Execute a streaming LLM call through the managed middleware pipeline. - [Module optimization](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization.md): Plugin-neutral evidence recording for managed LLM calls. Managed, bounded LLM optimization accounting. - [Struct LlmOptimization Recorder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/struct-llmoptimizationrecorder.md): Cloneable capability for adding evidence to the current managed LLM call. - [Constant MAX_LLM_OPTIMIZATION_CONTRIBUTIONS](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/constant-max-llm-optimization-contributions.md): Maximum contributions retained for one LLM call. - [Constant MAX_LLM_OPTIMIZATION_CONTRIBUTION_ATTEMPTS](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/constant-max-llm-optimization-contribution-attempts.md): Maximum contribution records inspected before the recorder seals itself. - [Constant MAX_LLM_OPTIMIZATION_CONTRIBUTION_BYTES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/constant-max-llm-optimization-contribution-bytes.md): Maximum serialized size of one complete contribution envelope. - [Constant MAX_LLM_OPTIMIZATION_TOTAL_CONTRIBUTION_BYTES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/constant-max-llm-optimization-total-contribution-bytes.md): Maximum aggregate serialized size of all contribution envelopes for one call. - [Function current_llm_optimization_recorder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/fn-current-llm-optimization-recorder.md): Return a recorder for the current execution intercept, if it is managed by Relay. - [Function record_llm_optimization_contribution](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/optimization/fn-record-llm-optimization-contribution.md): Best-effort shorthand for recording evidence on the current managed call. - [Module registry](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry.md): Global and scope-local middleware registration helpers. Middleware registry helpers for global and scope-local guardrails, intercepts, and subscribers. - [Struct Runtime Registration Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/struct-runtimeregistrationidentity.md): Structured identity for a global gateable runtime registration. - [Struct Runtime Registration Owner](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/struct-runtimeregistrationowner.md): Discovery metadata describing the owner of a runtime registration. - [Enum Runtime Registration Kind](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/enum-runtimeregistrationownerkind.md): The owner category reported for a global runtime registration. - [Function deregister_conditional_middleware_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-conditional-middleware-guardrail.md): Deregister a global conditional middleware guardrail. - [Function deregister_event_metadata_injector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-event-metadata-injector.md): Deregister a global Event metadata injector. - [Function deregister_llm_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-conditional-execution-guardrail.md): Deregister a global LLM conditional-execution guardrail. - [Function deregister_llm_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-execution-intercept.md): Deregister a global LLM execution intercept. - [Function deregister_llm_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-request-intercept.md): Deregister a global LLM request intercept. - [Function deregister_llm_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-sanitize-request-guardrail.md): Deregister a global LLM sanitize-request guardrail. - [Function deregister_llm_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-sanitize-response-guardrail.md): Deregister a global LLM sanitize-response guardrail. - [Function deregister_llm_stream_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-llm-stream-execution-intercept.md): Deregister a global streaming LLM execution intercept. - [Function deregister_mark_sanitize_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-mark-sanitize-guardrail.md): Deregister a global mark event sanitizer. - [Function deregister_scope_sanitize_end_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-scope-sanitize-end-guardrail.md): Deregister a global scope-end event sanitizer. - [Function deregister_scope_sanitize_start_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-scope-sanitize-start-guardrail.md): Deregister a global scope-start event sanitizer. - [Function deregister_tool_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-tool-conditional-execution-guardrail.md): Deregister a global tool conditional-execution guardrail. - [Function deregister_tool_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-tool-execution-intercept.md): Deregister a global tool execution intercept. - [Function deregister_tool_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-tool-request-intercept.md): Deregister a global tool request intercept. - [Function deregister_tool_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-tool-sanitize-request-guardrail.md): Deregister a global tool sanitize-request guardrail. - [Function deregister_tool_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-deregister-tool-sanitize-response-guardrail.md): Deregister a global tool sanitize-response guardrail. - [Function list_runtime_registrations](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-list-runtime-registrations.md): List a deterministic snapshot of global gateable runtime registrations. - [Function register_conditional_middleware_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-conditional-middleware-guardrail.md): Register a global conditional middleware guardrail. - [Function register_event_metadata_injector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-event-metadata-injector.md): Register a global Event metadata injector. - [Function register_llm_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-conditional-execution-guardrail.md): Register a global LLM conditional-execution guardrail. The guardrail can block LLM execution before intercepts or the provider callback run. - [Function register_llm_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-execution-intercept.md): Register a global LLM execution intercept. Execution intercepts can wrap or replace the non-streaming provider callback. - [Function register_llm_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-request-intercept.md): Register a global LLM request intercept. Request intercepts can rewrite or annotate the outgoing LLM request and schedule lifecycle marks for the resulting LLM scope. - [Function register_llm_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-sanitize-request-guardrail.md): Register a global LLM sanitize-request guardrail. The guardrail rewrites only the request payload recorded on emitted start events. - [Function register_llm_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-sanitize-response-guardrail.md): Register a global LLM sanitize-response guardrail. The guardrail rewrites only the response payload recorded on emitted end events. - [Function register_llm_stream_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-llm-stream-execution-intercept.md): Register a global streaming LLM execution intercept. Execution intercepts can wrap or replace the streaming provider callback. - [Function register_mark_sanitize_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-mark-sanitize-guardrail.md): Register a global mark event sanitizer. - [Function register_scope_sanitize_end_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-scope-sanitize-end-guardrail.md): Register a global scope-end event sanitizer. - [Function register_scope_sanitize_start_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-scope-sanitize-start-guardrail.md): Register a global scope-start event sanitizer. - [Function register_tool_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-tool-conditional-execution-guardrail.md): Register a global tool conditional-execution guardrail. The guardrail can block tool execution before intercepts or the tool callback run. - [Function register_tool_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-tool-execution-intercept.md): Register a global tool execution intercept that receives the full [`ToolExecutionContext`], including the managed `tool_call_id`. Execution intercepts can wrap or replace the tool callback. Each callback returns a canonical tool execution outcome, while its continuation resolves to the downstream `ToolExecutionResult`. - [Function register_tool_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-tool-request-intercept.md): Register a global tool request intercept. Request intercepts can rewrite tool arguments before execution. - [Function register_tool_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-tool-sanitize-request-guardrail.md): Register a global tool sanitize-request guardrail. The guardrail rewrites only the tool input recorded on emitted start events. - [Function register_tool_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-register-tool-sanitize-response-guardrail.md): Register a global tool sanitize-response guardrail. The guardrail rewrites only the tool output recorded on emitted end events. - [Function scope_deregister_event_metadata_injector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-event-metadata-injector.md): Deregister an Event metadata injector owned by an active scope. - [Function scope_deregister_llm_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-conditional-execution-guardrail.md): Deregister a scope-local LLM conditional-execution guardrail. - [Function scope_deregister_llm_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-execution-intercept.md): Deregister a scope-local LLM execution intercept. - [Function scope_deregister_llm_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-request-intercept.md): Deregister a scope-local LLM request intercept. - [Function scope_deregister_llm_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-sanitize-request-guardrail.md): Deregister a scope-local LLM sanitize-request guardrail. - [Function scope_deregister_llm_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-sanitize-response-guardrail.md): Deregister a scope-local LLM sanitize-response guardrail. - [Function scope_deregister_llm_stream_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-llm-stream-execution-intercept.md): Deregister a scope-local streaming LLM execution intercept. - [Function scope_deregister_mark_sanitize_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-mark-sanitize-guardrail.md): Deregister a scope-local mark event sanitizer. - [Function scope_deregister_scope_sanitize_end_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-scope-sanitize-end-guardrail.md): Deregister a scope-local scope-end event sanitizer. - [Function scope_deregister_scope_sanitize_start_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-scope-sanitize-start-guardrail.md): Deregister a scope-local scope-start event sanitizer. - [Function scope_deregister_tool_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-tool-conditional-execution-guardrail.md): Deregister a scope-local tool conditional-execution guardrail. - [Function scope_deregister_tool_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-tool-execution-intercept.md): Deregister a scope-local tool execution intercept. - [Function scope_deregister_tool_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-tool-request-intercept.md): Deregister a scope-local tool request intercept. - [Function scope_deregister_tool_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-tool-sanitize-request-guardrail.md): Deregister a scope-local tool sanitize-request guardrail. - [Function scope_deregister_tool_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-deregister-tool-sanitize-response-guardrail.md): Deregister a scope-local tool sanitize-response guardrail. - [Function scope_register_event_metadata_injector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-event-metadata-injector.md): Register an Event metadata injector owned by an active scope. - [Function scope_register_llm_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-conditional-execution-guardrail.md): Register a scope-local LLM conditional-execution guardrail. The guardrail can block LLM execution inside the owning scope. - [Function scope_register_llm_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-execution-intercept.md): Register a scope-local LLM execution intercept. Execution intercepts can wrap or replace the non-streaming provider callback inside the owning scope. - [Function scope_register_llm_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-request-intercept.md): Register a scope-local LLM request intercept. Request intercepts can rewrite or annotate LLM requests inside the owning scope and schedule lifecycle marks for the resulting LLM scope. - [Function scope_register_llm_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-sanitize-request-guardrail.md): Register a scope-local LLM sanitize-request guardrail. The guardrail rewrites only request payloads emitted under the owning scope. - [Function scope_register_llm_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-sanitize-response-guardrail.md): Register a scope-local LLM sanitize-response guardrail. The guardrail rewrites only response payloads emitted under the owning scope. - [Function scope_register_llm_stream_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-llm-stream-execution-intercept.md): Register a scope-local streaming LLM execution intercept. Execution intercepts can wrap or replace the streaming provider callback inside the owning scope. - [Function scope_register_mark_sanitize_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-mark-sanitize-guardrail.md): Register a scope-local mark event sanitizer. - [Function scope_register_scope_sanitize_end_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-scope-sanitize-end-guardrail.md): Register a scope-local scope-end event sanitizer. - [Function scope_register_scope_sanitize_start_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-scope-sanitize-start-guardrail.md): Register a scope-local scope-start event sanitizer. - [Function scope_register_tool_conditional_execution_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-tool-conditional-execution-guardrail.md): Register a scope-local tool conditional-execution guardrail. The guardrail can block tool execution inside the owning scope. - [Function scope_register_tool_execution_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-tool-execution-intercept.md): Register a scope-local tool execution intercept that receives the full [`ToolExecutionContext`], including the managed `tool_call_id`. Execution intercepts can wrap or replace the tool callback inside the owning scope. Each callback returns a canonical tool execution outcome, while its continuation resolves to the downstream `ToolExecutionResult`. - [Function scope_register_tool_request_intercept](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-tool-request-intercept.md): Register a scope-local tool request intercept. Request intercepts can rewrite tool arguments inside the owning scope. - [Function scope_register_tool_sanitize_request_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-tool-sanitize-request-guardrail.md): Register a scope-local tool sanitize-request guardrail. The guardrail rewrites only tool input emitted under the owning scope. - [Function scope_register_tool_sanitize_response_guardrail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/registry/fn-scope-register-tool-sanitize-response-guardrail.md): Register a scope-local tool sanitize-response guardrail. The guardrail rewrites only tool output emitted under the owning scope. - [Module resource_metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics.md): System resource metric acquisition and polling APIs. Fresh and managed system resource metric observation. - [Struct Accelerator Device Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-acceleratordevicemetrics.md): Device-wide accelerator measurements. - [Struct Accelerator Process Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-acceleratorprocessmetrics.md): Accelerator measurements attributed to one process in the selected scope. - [Struct CpuMetrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-cpumetrics.md): CPU measurements and CPU limit events. - [Struct Disk Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-filesystemcapacitymetrics.md): Filesystem capacity for one configured path. - [Struct GpuMetrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-gpumetrics.md): Accelerator (GPU) device-wide and process-attributed measurements. - [Struct Memory Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-memorymetrics.md): Memory measurements and memory limit events. - [Struct Network Interface Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-networkinterfacemetrics.md): Network traffic for one visible interface. - [Struct Network Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-networktrafficmetrics.md): Network counters for one interface or the selected system aggregate. - [Struct Process Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-processmetrics.md): Process counts, process limits, handles, and descriptors. - [Struct Process Sampling Metadata](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcelimiteventcount.md): One typed cumulative resource-limit event counter. - [Struct Resource Measurement](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemeasurement.md): One available resource measurement. - [Struct Resource Metrics Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsconfig.md): Configuration for the built-in `resource_metrics` plugin component. - [Struct Resource Metrics CpuConfig](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricscpuconfig.md): CPU observations, limits, and pressure. - [Struct Resource Metrics CpuUnits](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricscpuunits.md): CPU measurement unit choices. - [Struct Resource Metrics Disk Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsdiskunits.md): Disk measurement unit choices. - [Struct Resource Metrics GpuConfig](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsgpuconfig.md): Accelerator observations. - [Struct Resource Metrics GpuUnits](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsgpuunits.md): GPU measurement unit choices. - [Struct Resource Metrics Memory Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsmemoryconfig.md): Memory observations, limits, pressure, and OOM events. - [Struct Resource Metrics Memory Units](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsmemoryunits.md): Memory measurement unit choices. - [Struct Resource Metrics Network Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsnetworktrafficunits.md): Unit choices for one group of network traffic. - [Struct Resource Metrics Network Units](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsnetworkunits.md): Unit choices for system and interface traffic. - [Struct Resource Metrics Polling Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsprocessconfig.md): Process, thread, handle, descriptor, and process-limit observations. - [Struct Resource Metrics Snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/struct-resourcemetricsunits.md): Output unit choices for resource metrics. - [Enum Accelerator Vendor](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-acceleratorvendor.md): Accelerator vendor associated with a metric record. - [Enum Bandwidth Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-bandwidthunit.md): Units for data transferred per second. - [Enum Capacity Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-capacityunit.md): Units for memory and filesystem capacity. - [Enum Count Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-countunit.md): Fixed units for process, resource, and operation counts. - [Enum CpuUnit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-cpuunit.md): Units for CPU consumption and effective capacity. - [Enum Data Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-dataunit.md): Units for cumulative transferred data. - [Enum Duration Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-durationunit.md): Units for elapsed and cumulative durations. - [Enum Resource Limit Event Kind](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-resourcelimiteventkind.md): Direct operating-system resource-limit event kind. - [Enum Resource Limit Resource](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-resourcelimitresource.md): Resource whose configured boundary produced a limit event. - [Enum Resource Measurement Scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-resourcemeasurementscope.md): System or process boundary measured by a snapshot. - [Enum Resource Metric Value](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-resourcemetricsmeasurementscope.md): Measurement boundary selected for resource metric collection. - [Enum Resource Operating System](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-resourceoperatingsystem.md): Operating system that produced a resource metrics snapshot. - [Enum Utilization Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/enum-utilizationunit.md): Units for GPU compute utilization. - [Constant RESOURCE_METRICS_EVENT_NAME](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/constant-resource-metrics-event-name.md): Canonical event name for resource metric marks. - [Trait Resource Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/trait-resourceunit.md): A unit with a stable name in snapshots and metric marks. - [Function collect](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/resource_metrics/fn-collect.md): Acquire a fresh snapshot without requiring managed polling. - [Module runtime](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime.md): Advanced runtime state, callbacks, and scope-stack helpers. Advanced runtime state, callbacks, and scope-stack helpers. - [Module callbacks](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks.md): Callback type aliases used by the runtime middleware pipeline. - [Type Alias Conditional Middleware Guardrail Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-conditionalmiddlewareguardrailfn.md): Decide whether matching global runtime registrations remain eligible. - [Type Alias Event Metadata Injector Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-eventmetadatainjectorfn.md): Add flat metadata attributes to a fully constructed event. - [Type Alias Event Sanitize Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-eventsanitizefn.md): Sanitize mutable observability fields on a fully constructed event. - [Type Alias Event Subscriber Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-eventsubscriberfn.md): Consume runtime lifecycle events after they are emitted. - [Enum Builtin LlmCodec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/enum-builtinllmcodec.md): Relay's built-in LLM codec identities. - [Type Alias LlmAsync Collector Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmasynccollectorfn.md): Collector that is awaited; see `LlmCollector`. - [Enum LlmCodec Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/enum-llmcodecidentity.md): Per-call LLM codec identity supplied to sanitizer and SDK callbacks. - [Type Alias LlmAsync Finalizer Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmasyncfinalizerfn.md): Finalizer that is awaited; see `LlmFinalizer`. - [Type Alias LlmBorrowed Collector Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmborrowedcollectorfn.md): Collector that reads each provider JSON chunk without copying it. - [Enum LlmCollector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/enum-llmcollector.md): Collector used to accumulate streaming response chunks. - [Type Alias LlmCollector Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmcollectorfn.md): Per-chunk collector used by the streaming LLM runtime. - [Type Alias LlmCollector Future](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmcollectorfuture.md): Future returned by an asynchronous collector. - [Type Alias LlmConditional Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmconditionalfn.md): Decide whether an LLM call is allowed to continue. - [Type Alias LlmExecution Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmexecutionfn.md): Wrap or replace non-streaming LLM execution. - [Type Alias LlmExecution Next Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmexecutionnextfn.md): Continuation type invoked by non-streaming LLM execution intercepts. - [Type Alias LlmFallible Finalizer Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmfalliblefinalizerfn.md): Finalizer that can fail; see `LlmFinalizer`. - [Enum LlmFinalizer](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/enum-llmfinalizer.md): Finalizer used to synthesize the aggregate streaming response payload. - [Type Alias LlmFinalizer Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmfinalizerfn.md): Finalizer used to synthesize the aggregate streaming response payload. - [Type Alias LlmFinalizer Future](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmfinalizerfuture.md): Future returned by an asynchronous finalizer. - [Struct LlmJson Stream](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/struct-llmjsonstream.md): Stream of JSON chunks produced by the managed streaming LLM pipeline. - [Type Alias LlmRequest Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmrequestcontext.md): Request codec context exposed to an LLM execution intercept. - [Type Alias LlmRequest Intercept Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmrequestinterceptfn.md): Rewrite or annotate an LLM request before execution. - [Type Alias LlmResponse Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmresponsecontext.md): Response codec context exposed to a non-streaming LLM execution intercept. - [Struct LlmSanitize Request Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/struct-llmsanitizerequestcontext.md): Per-call codec identity and capability for an LLM request. - [Type Alias LlmSanitize Request Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmsanitizerequestfn.md): Sanitize an LLM request before the runtime records it. - [Struct LlmSanitize Response Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/struct-llmsanitizeresponsecontext.md): Per-call codec identity and capability for an LLM response. - [Type Alias LlmSanitize Response Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmsanitizeresponsefn.md): Sanitize an LLM response before the runtime records it. - [Type Alias LlmStream Execution Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmstreamexecutionfn.md): Wrap or replace streaming LLM execution. - [Type Alias LlmStream Execution Next Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmstreamexecutionnextfn.md): Continuation type invoked by streaming LLM execution intercepts. - [Trait LlmStream Inner](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/trait-llmstreaminner.md): Internal close-aware stream implementation. - [Type Alias Tool Conditional Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-toolconditionalfn.md): Decide whether a tool call is allowed to continue. - [Struct Tool Execution Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/struct-toolexecutioncontext.md): Per-call context delivered to a tool execution intercept. - [Type Alias Tool Execution Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-toolexecutionfn.md): Wrap or replace tool execution with access to the full call context. - [Type Alias Tool Execution Next Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-toolexecutionnextfn.md): Continuation type invoked by tool execution intercepts. - [Type Alias Tool Intercept Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-toolinterceptfn.md): Rewrite tool arguments before execution. - [Type Alias Tool Sanitize Fn](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-toolsanitizefn.md): Sanitize a tool request payload before the runtime records it. - [Module global](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/global.md): Process-global access to the shared runtime context state. - [Function global_context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/global/fn-global-context.md): Return the process-global runtime context state handle. - [Module scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack.md): Scope stack storage and propagation helpers. - [Struct Propagation Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-propagationcontext.md): Versioned, transport-neutral causal context for crossing a Relay boundary. - [Struct Scope Stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-scopestack.md): Mutable stack of active scopes plus their scope-local registries. - [Struct Scope Stack Entry](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-scopestackentry.md): Identity of one entry in the visible Relay scope stack. - [Struct Scope Stack Snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-scopestacksnapshot.md): Owned root-to-top values from one coherent read of a visible scope stack. - [Struct Thread Scope Stack Binding](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/struct-threadscopestackbinding.md): Captured thread-local scope stack binding. - [Static TASK_SCOPE_STACK](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/static-task-scope-stack.md): Task-local scope stack handle used by async execution contexts. - [Function capture_propagation_context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-capture-propagation-context.md): Capture the current causal parent and its Relay root when available. - [Function capture_propagation_context_with_root](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-capture-propagation-context-with-root.md): Capture the current causal parent and an application-supplied session root. Without an imported W3C parent, the supplied root determines the receiver's trace. An imported W3C parent retains precedence over the Relay root. Passing `None` has the same behavior as `capture_rootless_propagation_context`. - [Function capture_rootless_propagation_context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-capture-rootless-propagation-context.md): Capture the current causal parent without a root UUID. - [Function capture_thread_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-capture-thread-scope-stack.md): Capture the current thread-local scope stack binding. - [Function capture_traceparent](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-capture-traceparent.md): Capture the current canonical W3C `traceparent` value. - [Function create_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-create-scope-stack.md): Create a new scope stack handle with an implicit root scope. - [Function create_scope_stack_from_propagation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-create-scope-stack-from-propagation.md): Create an isolated scope stack rooted below a supplied propagation context. - [Function current_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-current-scope-stack.md): Return the scope stack visible to the current execution context. - [Function current_scope_stack_snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-current-scope-stack-snapshot.md): Return detached identities from the calling context's explicitly active stack. - [Function fork_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-fork-scope-stack.md): Create an isolated scope stack below the current causal parent. - [Function propagate_scope_to_thread](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-propagate-scope-to-thread.md): Capture the current scope stack handle for use in another thread. - [Function restore_thread_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-restore-thread-scope-stack.md): Restore a previously captured thread-local scope stack binding. - [Function scope_stack_active](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-scope-stack-active.md): Report whether the current context has an explicitly active scope stack. - [Function set_thread_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-set-thread-scope-stack.md): Install an explicit scope stack for the current thread. - [Function sync_thread_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-sync-thread-scope-stack.md): Synchronize the thread-local scope stack without marking it explicit. - [Function task_scope_push](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-task-scope-push.md): Push a scope handle onto the active stack. - [Function task_scope_remove](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-task-scope-remove.md): Remove a scope handle from the active stack. - [Function task_scope_top](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-task-scope-top.md): Clone the current top-most scope handle from the active stack. - [Function with_active_event_uuid](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-with-active-event-uuid.md): Run a future with `uuid` as the causally active managed event. - [Function with_scope_stack](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/fn-with-scope-stack.md): Run a synchronous callback with `handle` as the visible scope stack. - [Type Alias Scope Stack Handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/scope_stack/type-scopestackhandle.md): Shared handle type for the runtime scope stack. - [Module state](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/state.md): Process-global runtime state and middleware-chain builders. - [Struct Nemo Relay Context State](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/state/struct-nemorelaycontextstate.md): Process-global runtime state backing middleware and event emission. - [Module subscriber_dispatcher](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/subscriber_dispatcher.md): Asynchronous subscriber delivery for native targets. - [Function flush_subscribers](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/subscriber_dispatcher/fn-flush-subscribers.md): Wait for all queued subscriber callbacks and managed terminal publications registered before this call, including publications emitted transitively by those callbacks. - [Type Alias Publication Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/subscriber_dispatcher/type-publicationcontext.md): Binding-owned context captured when an event is emitted. - [Struct LlmExecution Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/struct-llmexecutioncontext.md): Codec access for one LLM execution. - [Struct Scope Stack Entry](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/struct-scopestackentry.md): Identity of one entry in the visible Relay scope stack. - [Struct Scope Stack Snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/struct-scopestacksnapshot.md): Owned root-to-top values from one coherent read of a visible scope stack. - [Enum Builtin LlmCodec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/enum-builtinllmcodec.md): Relay's built-in LLM codec identities. - [Enum LlmCodec Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/runtime/enum-llmcodecidentity.md): Per-call LLM codec identity supplied to sanitizer and SDK callbacks. - [Module scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope.md): Scope stack lifecycle and mark-event entry points. - [Struct Create Scope Handle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-createscopehandleparams.md): Builder parameters for [`NemoRelayContextState::create_scope_handle`]. - [Struct Emit Mark Event Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-emitmarkeventparams.md): Builder parameters for `event`. - [Struct Emit Metric Event Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-emitmetriceventparams.md): Builder parameters for `metric`. - [Struct EndScope Handle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-endscopehandleparams.md): Builder parameters for [`NemoRelayContextState::build_scope_end_event`]. - [Struct PopScope Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-popscopeparams.md): Builder parameters for `pop_scope`. - [Struct Push Scope Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-pushscopeparams.md): Builder parameters for `push_scope`. - [Struct Scope Attributes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-scopeattributes.md): Bitflags that modify scope behavior and observability. - [Struct Scope Handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/struct-scopehandle.md): Runtime-owned handle identifying an active or completed scope. - [Enum Handle Attributes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/enum-handleattributes.md): Attribute bitflags attached to a concrete handle kind. - [Enum Scope Type](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/enum-scopetype.md): Semantic category attached to a scope lifecycle span. - [Constant COMPACTION_EVENT_NAME](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/constant-compaction-event-name.md): Canonical mark-event name used to indicate agent context compaction. - [Function event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/fn-event.md): Emit a standalone mark event under the current or provided scope. - [Function get_handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/fn-get-handle.md): Return the current scope at the top of the active stack. - [Function metric](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/fn-metric.md): Emit a Relay metric mark under the current or provided scope. - [Function pop_scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/fn-pop-scope.md): Pop the current scope from the active scope stack. - [Function push_scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/scope/fn-push-scope.md): Push a new scope onto the active scope stack. - [Module subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber.md): Global and scope-local event subscriber registration helpers. - [Function deregister_subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber/fn-deregister-subscriber.md): Deregister a global lifecycle event subscriber. - [Function flush_subscribers](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber/fn-flush-subscribers.md): Wait for all subscriber callbacks and managed terminal publications registered before this call to finish, including publications emitted transitively by those callbacks. - [Function register_subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber/fn-register-subscriber.md): Register a global lifecycle event subscriber. - [Function scope_deregister_subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber/fn-scope-deregister-subscriber.md): Deregister a scope-local lifecycle event subscriber. - [Function scope_register_subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/subscriber/fn-scope-register-subscriber.md): Register a scope-local lifecycle event subscriber. - [Module tool](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool.md): Tool lifecycle helpers and managed execution entry points. - [Struct Create Tool Handle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-createtoolhandleparams.md): Builder parameters for `NemoRelayContextState::create_tool_handle`. - [Struct EndTool Handle Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-endtoolhandleparams.md): Builder parameters for `NemoRelayContextState::build_tool_end_event`. - [Struct Tool Attributes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolattributes.md): Bitflags that modify tool-call behavior and observability. - [Struct Tool Call EndParams](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolcallendparams.md): Builder parameters for `tool_call_end`. - [Struct Tool Call Execute Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolcallexecuteparams.md): Builder parameters for `tool_call_execute`. - [Struct Tool Call Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolcallparams.md): Builder parameters for `tool_call`. - [Struct Tool Execution Intercept Outcome](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolexecutioninterceptoutcome.md): Canonical result returned by a tool execution intercept. - [Struct Tool Execution Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolexecutionresult.md): Canonical application-visible result of tool execution. - [Struct Tool Handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/struct-toolhandle.md): Runtime-owned handle identifying an active or completed tool call. - [Constant TOOL_EXECUTION_INTERCEPT_OUTCOME_SCHEMA](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/constant-tool-execution-result-schema.md): Versioned native-plugin JSON envelope schema for `ToolExecutionResult`. - [Function tool_call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-call.md): Start a manual tool lifecycle span. - [Function tool_call_end](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-call-end.md): Finish a manual tool lifecycle span. - [Function tool_call_execute](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-call-execute.md): Execute a tool call through the managed middleware pipeline. - [Function tool_conditional_execution](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-conditional-execution.md): Run only the tool conditional-execution guardrail chain. - [Function tool_request_intercepts](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/api/tool/fn-tool-request-intercepts.md): Run only the tool request-intercept chain. - [Module codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec.md): LLM codecs and the shared JSON format for tool results. - [Module anthropic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/anthropic.md): Built-in codec for the Anthropic Messages API. - [Struct Anthropic Messages Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/anthropic/struct-anthropicmessagescodec.md): Built-in codec for the Anthropic Messages API. - [Struct Anthropic Messages Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/anthropic/struct-anthropicmessagesstreamingcodec.md): Streaming counterpart to `AnthropicMessagesCodec`. - [Module gemini_generate_content](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/gemini_generate_content.md): Built-in codec for the Gemini generateContent API. - [Struct Gemini Generate Content Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/gemini_generate_content/struct-geminigeneratecontentcodec.md): Built-in codec for the Gemini generateContent API. - [Struct Gemini Generate Content Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/gemini_generate_content/struct-geminigeneratecontentstreamingcodec.md): Streaming counterpart to `GeminiGenerateContentCodec`. - [Module model_pricing](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing.md): Data-driven LLM model pricing used to layer cost estimates onto usage. - [Enum Cache Read Accounting](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-cachereadaccounting.md): How cache-read tokens relate to prompt token counts in provider usage. - [Struct Model Pricing](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-modelpricing.md): Per-token model pricing expressed in USD per one million tokens. - [Struct Pricing Catalog](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-pricingcatalog.md): Collection of model pricing entries. - [Enum Pricing Catalog Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-pricingcatalogerror.md): Errors produced while parsing or validating a model pricing catalog. - [Struct Pricing Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-pricingconfig.md): Runtime model pricing resolver configuration. - [Struct Pricing Resolver](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-pricingresolver.md): Ordered model pricing lookup chain. - [Struct Token Rate Tier](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-tokenratetier.md): A model pricing tier selected by prompt/input token count. - [Trait Pricing Source](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/trait-pricingsource.md): Pluggable model pricing source interface. - [Enum Pricing Source Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-pricingsourceconfig.md): Declarative model pricing source supported by Relay configuration. - [Enum Pricing Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-pricingunit.md): Billing unit represented by a model pricing entry. - [Struct Prompt Cache Pricing](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-promptcachepricing.md): Prompt-cache accounting rules for a model pricing entry. - [Struct Token Pricing Rates](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/struct-tokenpricingrates.md): Token rates expressed as USD per one million tokens. - [Enum Rate Schedule Application](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-ratescheduleapplication.md): How a selected rate-schedule tier applies to billable usage. - [Function active_pricing_resolver](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-active-pricing-resolver.md): Returns the active process-wide model pricing resolver. - [Enum Token Rate Schedule](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/enum-tokenrateschedule.md): Data-driven token rate schedule for model pricing with request thresholds. - [Function attach_estimated_cost](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-attach-estimated-cost.md): Adds a model pricing estimate to a normalized response when cost is missing. - [Function attach_estimated_cost_for_provider](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-attach-estimated-cost-for-provider.md): Adds a provider-aware model pricing estimate to a normalized response when cost is missing. - [Function estimate_cost](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-estimate-cost.md): Estimates USD cost for a model/usage pair when model pricing is known. - [Function estimate_cost_for_provider](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-estimate-cost-for-provider.md): Estimates USD cost for a provider/model pair when model pricing is known. - [Function estimate_cost_with_catalog](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-estimate-cost-with-catalog.md): Estimates USD cost using the provided catalog. - [Function estimate_cost_with_provider](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-estimate-cost-with-provider.md): Estimates USD cost using the provided catalog and provider/model pair. - [Function infer_model_provider](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-infer-model-provider.md): Infers a provider/route value for a decoded model. - [Function pricing_for_model](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-pricing-for-model.md): Returns known model pricing for a model ID. - [Function pricing_for_provider](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-pricing-for-provider.md): Returns known model pricing for a provider/model pair. - [Function reset_active_pricing_resolver](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-reset-active-pricing-resolver.md): Restores the active process-wide model pricing resolver to an empty resolver. - [Function set_active_pricing_resolver](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/model_pricing/fn-set-active-pricing-resolver.md): Replaces the active process-wide model pricing resolver. - [Module oci_genai](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/oci_genai.md): Built-in codec for the Oracle Cloud Infrastructure (OCI) Generative AI chat API. - [Struct OCIGenAI Chat Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/oci_genai/struct-ocigenaichatcodec.md): Built-in codec for the OCI Generative AI chat API. - [Struct OCIGenAI Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/oci_genai/struct-ocigenaistreamingcodec.md): Streaming counterpart to `OCIGenAIChatCodec`. - [Module openai_chat](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat.md): Built-in codec for the OpenAI Chat Completions API. - [Struct OpenAI Chat Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatcodec.md): Built-in codec for the OpenAI Chat Completions API. - [Struct OpenAI Chat Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_chat/struct-openaichatstreamingcodec.md): Streaming counterpart to `OpenAIChatCodec`. - [Module openai_responses](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_responses.md): Built-in codec for the OpenAI Responses API. - [Struct OpenAI Responses Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_responses/struct-openairesponsescodec.md): Built-in codec for the OpenAI Responses API. - [Struct OpenAI Responses Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/openai_responses/struct-openairesponsesstreamingcodec.md): Streaming counterpart to `OpenAIResponsesCodec`. - [Module optimization](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization.md): Re-exported plugin-neutral LLM optimization data types. - [Struct LlmOptimization Contribution](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationcontribution.md): One optimizer's evidence for a change to an LLM call. - [Struct LlmOptimization Kind](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationkind.md): Open, forward-compatible optimization classification. - [Struct LlmOptimization Model](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationmodel.md): Model identity used for counterfactual and effective pricing. - [Struct LlmOptimization Model Transition](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationmodeltransition.md): A model change proposed or applied by an optimizer. - [Struct LlmOptimization Summary](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationsummary.md): Close-time accounting attached to the normalized LLM response. - [Struct LlmOptimization Token Impact](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationtokenimpact.md): Shared token evidence that Relay can aggregate without understanding a plugin payload. - [Struct LlmOptimization Tokens](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/struct-llmoptimizationtokens.md): Token quantities retained independently from pricing arithmetic. - [Enum LlmOptimization Evidence Quality](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/enum-llmoptimizationevidencequality.md): Whether token evidence was observed directly or estimated. - [Enum LlmOptimization Summary Status](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/enum-llmoptimizationsummarystatus.md): Completeness of close-time optimization accounting. - [Trait LlmOptimization Payload](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/optimization/trait-llmoptimizationpayload.md): Trait implemented by typed plugin payloads embedded in an optimization contribution. - [Module request](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request.md): Re-exported normalized LLM request data types. - [Struct Annotated LlmRequest](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-annotatedllmrequest.md): Structured view of an LLM request, produced by a Codec from opaque `LlmRequest` content. - [Struct Function Call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-functioncall.md): A function call within a tool call. - [Struct Function Definition](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-functiondefinition.md): A function definition within a tool definition. - [Struct Generation Params](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-generationparams.md): Normalized generation parameters across providers. - [Struct Open AiImage Url](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-openaiimageurl.md): OpenAI image URL payload. - [Struct Provider Native Component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-providernativecomponent.md): Lossless provider-native component embedded in the annotated request. - [Struct Tool Call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-toolcall.md): A tool call requested by the assistant. - [Struct Tool Choice Function](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-toolchoicefunction.md): A specific tool choice that forces a named function. - [Struct Tool Choice Function Name](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/struct-toolchoicefunctionname.md): The name component of a specific tool choice. - [Enum ApiSpecific Request](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-apispecificrequest.md): API-specific request fields that do not have portable semantics. - [Enum Content Part](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-contentpart.md): A single content part within a multimodal message. - [Enum Message](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-message.md): A single message in a conversation, tagged by role. - [Enum Message Content](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-messagecontent.md): Message content: either a plain string or multimodal parts array. - [Enum Tool Choice](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-toolchoice.md): Tool choice control: how the model should use available tools. - [Enum Tool Definition](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/enum-tooldefinition.md): A tool definition available to the model. - [Constant ANNOTATED_LLM_REQUEST_SCHEMA](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/request/constant-annotated-llm-request-schema.md): Versioned JSON envelope schema for `AnnotatedLlmRequest`. - [Module resolve](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve.md): Provider-surface detection, best-effort normalization, and construction of the matching built-in codecs from a raw payload, surface, or codec name. - [Enum Provider Surface](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/enum-providersurface.md): A built-in provider request/response surface. - [Function detect_request_surface](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-detect-request-surface.md): Detect the request surface from a raw request body by top-level key. - [Function detect_request_surface_with_hint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-detect-request-surface-with-hint.md): Like `detect_request_surface`, but a recognized `provider_hint` resolves the one ambiguous shape (an Anthropic request without a top-level `system`, otherwise read as OpenAI Chat). Today, only the exact hints `"anthropic"` and `"anthropic.messages"` change detection; `None` or any other value is ignored and detection stays shape-only. - [Function detect_response_surface](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-detect-response-surface.md): Detect the response surface from a raw provider response, classifying only when exactly one built-in shape matches (the built-in codecs accept minimal objects, so decode success alone is not a reliable classifier). - [Function normalize_request](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-normalize-request.md): Best-effort decode of a raw request into `AnnotatedLlmRequest` (fail-open). - [Function normalize_request_with_hint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-normalize-request-with-hint.md): Like `normalize_request`, but a recognized `provider_hint` can disambiguate provider request shapes that are otherwise identical. - [Function normalize_response](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-normalize-response.md): Best-effort decode of a raw response into `AnnotatedLlmResponse` (fail-open). - [Function request_codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-request-codec.md): Constructs the built-in bidirectional request codec (`LlmCodec`) for a surface. - [Function response_codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-response-codec.md): Constructs the built-in decode-only response codec (`LlmResponseCodec`) for a surface. - [Function streaming_codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-streaming-codec.md): Constructs a fresh, single-use streaming codec (`StreamingCodec`) for a surface. - [Function supported_codec_names](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/resolve/fn-supported-codec-names.md): The canonical codec names of every built-in provider surface, for config validation and "supported codec" messages. - [Module response](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response.md): Re-exported normalized LLM response data types and core pricing helpers. - [Struct Annotated LlmResponse](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/struct-annotatedllmresponse.md): Structured view of an LLM response, produced by a response codec from raw JSON API output. - [Struct Cost Estimate](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/struct-costestimate.md): Normalized LLM response cost. - [Struct Response Tool Call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/struct-responsetoolcall.md): A tool call requested by the model in its response. - [Struct Usage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/struct-usage.md): Token usage statistics from an LLM API response. - [Enum ApiSpecific Response](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/enum-apispecificresponse.md): API-specific response data that cannot be normalized across providers. - [Enum Cost Source](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/enum-costsource.md): Source of a normalized cost value. - [Enum Finish Reason](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/response/enum-finishreason.md): Normalized reason why the model stopped generating. - [Module streaming](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/streaming.md): Streaming response codecs for the managed LLM execution pipeline. - [Struct SseEvent](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/streaming/struct-sseevent.md): One decoded SSE frame, paired with the parsed `data:` payload. - [Struct SseEvent Decoder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/streaming/struct-sseeventdecoder.md): Incremental decoder for `text/event-stream` byte streams that yields one JSON object per complete `data:` payload. - [Enum Normalized Stream Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/streaming/enum-normalizedstreamevent.md): Provider-neutral incremental stream item used by cross-protocol transcoders. - [Trait Streaming Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/streaming/trait-streamingcodec.md): Per-provider streaming codec used with `crate::api::llm::llm_stream_call_execute`. - [Module tool](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/tool.md): Shared content and failure fields for tool results from any framework. - [Constant TOOL_RESULT_SCHEMA](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/tool/constant-tool-result-schema.md): Schema name for version one of the tool-result JSON format. - [Module traits](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/traits.md): LLM codec traits for bidirectional request translation. - [Trait LlmCodec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/traits/trait-llmcodec.md): A bidirectional translator between opaque `LlmRequest` content and structured `AnnotatedLlmRequest`. - [Trait LlmResponse Codec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/traits/trait-llmresponsecodec.md): Decode-only codec for LLM API responses. - [Trait LlmResponse Encoder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/codec/traits/trait-llmresponseencoder.md): Additive encoder for materializing a normalized response in a provider wire format. - [Module config_editor](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor.md): Typed configuration editor metadata. - [Struct Editor Field Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/struct-editorfieldspec.md): Static editor metadata for one configuration field. - [Struct Editor List Item Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/struct-editorlistitemspec.md): Recursive metadata for one list entry. - [Struct Editor Schema](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/struct-editorschema.md): Static editor metadata for one configuration struct. - [Struct Editor Tagged Union Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/struct-editortaggedunionspec.md): Metadata used to edit a tagged union value. - [Struct Editor Variant Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/struct-editorvariantspec.md): One selectable variant of a tagged list entry. - [Enum Editor Field Kind](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/enum-editorfieldkind.md): Editor control shape for one configuration field. - [Static JSON_LIST_ITEM](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/static-json-list-item.md): Reusable metadata for a list of arbitrary JSON values. - [Static STRING_LIST_ITEM](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/static-string-list-item.md): Reusable metadata for a list of strings. - [Trait Editor Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/trait-editorconfig.md): Trait implemented by configuration structs that expose editor metadata. - [Function default_json_list_item_value](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/fn-default-json-list-item-value.md): Default value for a newly added arbitrary JSON list item. - [Function default_string_list_item_value](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/config_editor/fn-default-string-list-item-value.md): Default value for a newly added string list item. - [Module diagnostics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics.md): Bounded, process-local diagnostic evidence, independent of logger startup. - [Module classifiers](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/classifiers.md): Producer-owned pure mappings from existing typed errors to catalogue values. Pure classification for the integrated plugin-operation producer. - [Struct Plugin Error Classifier](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/classifiers/struct-pluginerrorclassifier.md): Plugin-operation mapping before errors are flattened into reports or SDK strings. - [Module embedded](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded.md): Configuration-driven service and bounded copies for embedded language runtimes. Configuration-driven embedded service and bounded language-adapter copies. - [Struct Embedded Diagnostic Info](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/struct-embeddeddiagnosticinfo.md): Independent budgets and coverage of the binding adapter; excludes language object overhead and caller-retained copies, and is not an RSS measurement. - [Struct Embedded Diagnostic Page](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/struct-embeddeddiagnosticpage.md): Adapter-owned page payload. Its permit is returned deterministically on drop. Foreign results are caller-owned copies and must never retain this object. - [Struct Embedded Diagnostics Reader](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/struct-embeddeddiagnosticsreader.md): Read-only embedded capability. Clones share the service's copy admission pool. Debug output deliberately contains no snapshot, query, or restricted detail. - [Enum Embedded Diagnostic Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/enum-embeddeddiagnosticerror.md): Stable service/reader failure. Messages never contain retained evidence or query input. - [Constant BINDING_COPY_CONCURRENCY](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/constant-binding-copy-concurrency.md): Independent simultaneous page-copy/foreign-conversion budget per service. - [Constant DIAGNOSTIC_QUERY_INTEGER_FIELDS](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/constant-diagnostic-query-integer-fields.md): Query fields whose canonical JSON value is a lossless unsigned integer. Binding adapters use this descriptor when accepting native integer inputs. - [Constant MAX_BINDING_QUERY_BYTES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/constant-max-binding-query-bytes.md): Maximum encoded query accepted by an embedded reader, before JSON parsing. - [Function decode_query](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/fn-decode-query.md): Decode bounded input without copying an unbounded foreign query graph. - [Function reader](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/embedded/fn-reader.md): Obtain an inspection capability without initializing the service or logger. The service is selected by ordinary plugin-host initialization configuration. - [Struct Classification](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-classification.md): Shared classification payload for producers, projections, and decoded evidence. - [Struct Classification Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-classificationerror.md): A cause is missing, forbidden, or unsupported by the selected catalogue code. - [Struct Component Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentidentity.md): Identity of one registered component within a diagnostic source. - [Struct Component Memory Footprint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentmemoryfootprint.md): Assigned diagnostic storage for one component incarnation, not its heap or RSS. - [Struct Component Memory Usage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentmemoryusage.md): One retained registration's diagnostic backing. - [Struct Component Memory View](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentmemoryview.md): Borrowed component row from copied query storage. Never borrows live history. - [Struct Component Owner](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentowner.md): Restricted lifecycle capability returned only to the registration owner. - [Struct Component Ownership](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentownership.md): Bounded attribution for a component refresh or an originating observation. - [Struct Component Recorder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentrecorder.md): Producer capability scoped to one admitted registration. - [Struct Component Registration](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentregistration.md): Expected codes and attribution are admitted together with the summary. - [Struct Component Snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentsnapshot.md): One retained row per component registration instance. - [Struct Component View](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-componentview.md): Borrowed view of a component copied into a query workspace. - [Struct Diagnostic Capability](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcapability.md): Capability coverage, including explicitly deferred producer integrations. - [Struct Diagnostic Correlation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcorrelation.md): Optional caller correlation identifiers, excluded from aggregation keys. - [Struct Diagnostic Count](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcount.md): Magnitude of an occurrence or loss counter, including overflow visibility. - [Struct Diagnostic Counter](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcounter.md): Lifetime occurrences for one code in its containing component instance. - [Struct Diagnostic Coverage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcoverage.md): Explicit evidence, retention, saturation, and producer integration coverage. - [Struct Diagnostic Cursor](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticcursor.md): Opaque continuation bound to source, capture revision, offsets, and scope. - [Struct Diagnostic Detail](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticdetail.md): Restricted optional recent evidence, independent of the accepted numeric summary. - [Struct Diagnostic Discovery](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticdiscovery.md): Side-effect-free discovery, available even when snapshot queries are disabled. - [Struct Diagnostic Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticevent.md): One recent observation with its actual class and original configuration attribution. - [Struct Diagnostic Lifetime Summary](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticlifetimesummary.md): Fixed lifetime totals and monotonic timing for a context or component instance. - [Struct Diagnostic Limits](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticlimits.md): Independent capacities of one diagnostic context. All backing allocations are admitted during startup; these limits are not a whole-process RSS ceiling. - [Struct Diagnostic Loss](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticloss.md): Source loss state reserved independently of optional evidence capacity. - [Struct Diagnostic Memory Page](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticmemorypage.md): Bounded independent memory view; inspection neither records nor freezes history. - [Struct Diagnostic Memory Usage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticmemoryusage.md): Backing capacity and current occupancy of one context. - [Struct Diagnostic Number](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticnumber.md): Unsigned diagnostic integer serialized losslessly as a decimal string. - [Struct Diagnostic Origin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticorigin.md): Original bounded configuration attribution carried by one observation. - [Struct Diagnostic Output Summary](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticoutputsummary.md): Allowlisted operational output, constructed independently of retained detail. - [Struct Diagnostic Producer Support](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticproducersupport.md): One finite integration entry. Support is independent of collection enablement, configured/admitted registrations, observed evidence, and read authority. - [Struct Diagnostic Query](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticquery.md): Portable bounded selection; consumers never reset or mutate evidence. - [Struct Diagnostic Refresh Summary](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticrefreshsummary.md): One current resettable counting period, with no retained historical summary. - [Struct Diagnostic Retention](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticretention.md): Boundaries of returned retained evidence, separate from cumulative counters. - [Struct Diagnostic Snapshot](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticsnapshot.md): Read evidence from one source incarnation, using the canonical snapshot schema. - [Struct Diagnostic Totals](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnostictotals.md): Fixed numeric accounting for one explicitly identified lifetime or refresh scope. - [Struct Diagnostic Window](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticwindow.md): Fixed-resolution outcome series for the containing component instance. - [Struct Diagnostic Window Bucket](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticwindowbucket.md): An aggregate bucket using component-relative elapsed time, never raw process ticks. - [Struct Diagnostic Window Coverage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticwindowcoverage.md): Actual observation interval and limitations of a fixed-bucket window. - [Struct Diagnostics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnostics.md): Independent diagnostics context with immutable startup enablement. - [Struct Diagnostics Reader](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticsreader.md): Read capability for one context, without recording or lifecycle authority. - [Struct Diagnostics Settings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-diagnosticssettings.md): Startup-only runtime setting. Collection is compiled normally and off unless the owner enables this context explicitly. - [Struct Entry Memory Footprint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-entrymemoryfootprint.md): Occupied backing for one retained observation; these quantities overlap. - [Struct Entry Memory Usage](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-entrymemoryusage.md): One retained entry, identified within the enclosing source incarnation. - [Struct Entry Memory View](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-entrymemoryview.md): Borrowed retained-entry footprint from copied query storage, without its text. - [Struct Event View](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-eventview.md): Borrowed view of an event copied into a query workspace. - [Struct Extension Class Handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-extensionclasshandle.md): An admitted custom cause descriptor belonging to one registered extension. Its immutable metadata is bounded and does not create another counter series. - [Struct Extension Handle](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-extensionhandle.md): A registered extension identity. A stale handle cannot create a new code. - [Struct Extension Registration](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-extensionregistration.md): Extension vocabulary is scoped to a producer namespace and admitted once. - [Struct Memory Inspection Lease](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-memoryinspectionlease.md): Memory inspection holds the same bounded permit as an ordinary snapshot. Borrowed iterators refer only to the copied page; dropping releases all storage. - [Struct Memory Limit Event](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-memorylimitevent.md): One cumulative environment limit event. - [Struct Memory Selection Totals](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-memoryselectiontotals.md): Whole-selection totals, distinct from the rows present in this page. - [Struct Observation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-observation.md): One observation. Its count is a positive input delta, never a cumulative total. - [Struct Origin Recorder](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-originrecorder.md): An operation's bounded original configuration attribution. - [Struct Plugin Execution Name](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-pluginexecutionname.md): A plugin execution mechanism name, preserving values unknown to this reader. Typed conversion accepts only the corresponding catalogue enum. - [Struct Plugin Observation Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-pluginobservationcontext.md): Shared plugin-operation facts for producers, projections, and decoded evidence. - [Struct Plugin Phase Name](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-pluginphasename.md): A plugin lifecycle phase name, preserving values unknown to this reader. Typed conversion accepts only the corresponding catalogue enum. - [Struct Projection Guard](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-projectionguard.md): Bounded projection subscription, or inert disabled-mode handle. - [Struct Record Receipt](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-recordreceipt.md): Accepted lifetime and current-summary update. - [Struct Remote Diagnostic Origin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-remotediagnosticorigin.md): Fixed-size provenance retained by an authorized ingestion adapter. - [Struct Resource Memory Measurement](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-resourcememorymeasurement.md): One available measurement; an absent field means not reported (unsupported or unreadable). - [Struct Resource Memory Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-resourcememorymetrics.md): Memory-only projection; fixed fields and eight limit slots bound all copies. - [Struct Resource Memory Sample](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-resourcememorysample.md): Collection identity and memory values, copied without an unbounded retained graph. - [Struct Resource Memory View](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-resourcememoryview.md): Independent resource result joined after diagnostic capture releases its lock. - [Struct Resource Process Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-resourceprocessidentity.md): Verified root incarnation from the same collection, never PID alone. - [Struct Snapshot Lease](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-snapshotlease.md): A bounded serialized page. Dropping the lease returns its workspace permit; it owns copied bytes and never pins retained history or a component lease. - [Struct Source Identity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-sourceidentity.md): Identity of one Relay process or explicitly owned runtime incarnation. - [Struct Window Settings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/struct-windowsettings.md): Fixed-duration component outcome windows; no code/class Cartesian product. - [Enum Builtin Diagnostic Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-builtindiagnosticcode.md): Fixed-size canonical authoring value with one authoritative hierarchy. - [Enum CliFailure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-clifailurecode.md): Failures at integrated CLI operation boundaries; causes come from producers. - [Enum Common Plugin Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-commonpluginfailurecode.md): Plugin failures supported by phase-one activation recording. - [Enum Daemon Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-daemonfailurecode.md): Failures observed by daemon operation owners, independent of health policy. - [Enum Diagnostic Availability](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticavailability.md): Availability of evidence, without applying deployment or application health. - [Enum Diagnostic Detail Ref](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticdetailref.md): Borrowed producer-approved detail. A Display source is formatted into capped storage only when the enabled recorder invokes its lazy observation factory. - [Enum Diagnostic Domain](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticdomain.md): Top-level owning subsystem, derived from its catalogue code. - [Enum Diagnostic Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticerror.md): Validation, admission, or availability failure, independent of operational logging. - [Enum Diagnostic Outcome](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticoutcome.md): Observed operation outcome; severity does not imply this value. - [Enum Diagnostic Read Reason](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticseverity.md): Severity of evidence, independent of an operation's outcome. - [Enum Diagnostic Summary Scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticsummaryscope.md): Scope of summary and outcome-window values in a filtered response. - [Enum Evidence Disposition](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-evidencedisposition.md): Evidence retention is independent of numeric acceptance. - [Enum Failure Class](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-failureclass.md): Supported general cause, independent of health, retries, and operation outcome. - [Enum Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-failurecode.md): Failure event hierarchy for integrated producers. - [Enum Logging Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-loggingfailurecode.md): Initial Logging failure vocabulary. - [Enum Memory Field Scope](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-memoryfieldscope.md): Field-level scope; snapshot scope does not relabel system/environment data. - [Enum Notice Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-noticecode.md): Bounded non-failure observations; they never acquire a failure class. - [Enum Plugin Diagnostic Family](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-plugindiagnosticfamily.md): Semantic family of related plugin diagnostic codes. - [Enum Plugin Execution](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-pluginexecution.md): Producer-authored plugin execution mechanism, excluded from counter identity. - [Enum Plugin Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-pluginfailurecode.md): Plugin failure hierarchy for integrated producers. - [Enum Plugin Operation Failure Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-pluginoperationfailurecode.md): Failures at observed dynamic-plugin operation boundaries. - [Enum Plugin Phase](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-pluginphase.md): Observed plugin lifecycle phase or policy-gate context, independent of classification. - [Enum Projection Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-projectionerror.md): Subscriber conversion or delivery failure after canonical acceptance. - [Enum Record Outcome](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-recordoutcome.md): Accepted collection or intentional disablement. - [Enum Resource Association](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-resourceassociation.md): Relationship between the diagnostic process and measured target. - [Enum Resource Memory Availability](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-resourcememoryavailability.md): Availability of the latest-memory projection, independent of diagnostic reads. - [Enum Resource Memory Number](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-resourcememorynumber.md): Exact integers and finite converted decimals retain distinct numeric kinds. - [Enum Resource Memory Unit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-resourcememoryunit.md): Original unit family and canonical unit. Inspection performs no conversion. - [Enum Resource Sample Stream](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-resourcesamplestream.md): Independent baseline series producing this sample. - [Enum Success Code](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-successcode.md): Explicit successful operations; successes do not recover or clear failures. - [Constant DIAGNOSTIC_CATALOGUE_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/constant-diagnostic-catalogue-version.md): Stable typed-catalogue revision, independent of the envelope version. - [Constant DIAGNOSTIC_DISCOVERY_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/constant-diagnostic-discovery-version.md): Version of the side-effect-free discovery contract. - [Constant DIAGNOSTIC_MEMORY_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/constant-diagnostic-memory-version.md): Initial version of the separate memory inspection envelope. - [Constant DIAGNOSTIC_SCHEMA_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/constant-diagnostic-schema-version.md): Initial version of the canonical diagnostic snapshot envelope. - [Constant MAX_DIAGNOSTIC_QUERY_BYTES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/constant-max-diagnostic-query-bytes.md): Maximum canonical UTF-8 query size, before JSON parsing. HTTP applies this ceiling to the encoded URI query as well. Native helpers also bound conversion. - [Trait Diagnostic Classifier](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/trait-diagnosticclassifier.md): Pure producer behavior: borrow original evidence and return shared classification metadata. - [Function decode_diagnostic_query](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/fn-decode-diagnostic-query.md): Decode an optional schema selector and the shared query. Unknown selectors, duplicate fields (including nested ones), noncanonical numbers, and excessive nesting fail safely. No file lookup, service startup, or snapshot lease occurs. - [Type Alias Diagnostic Observation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/type-diagnosticobservation.md): Explicit authoring name for a borrowed observation. - [Type Alias Observation Time](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/diagnostics/type-observationtime.md): UTC wall-clock time when the source observed evidence or captured a snapshot. - [Module error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/error.md): Error types for the NeMo Relay runtime. - [Struct Upstream Failure](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/error/struct-upstreamfailure.md): Structured failure returned by one upstream provider attempt. - [Enum Flow Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror.md): The error type for all NeMo Relay runtime operations. - [Enum Upstream Failure Class](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/error/enum-upstreamfailureclass.md): Stable classification for a failure from an upstream provider attempt. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/error/type-result.md): A specialized `Result` type for NeMo Relay operations. - [Module json](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/json.md): JSON utilities for the NeMo Relay runtime. - [Function merge_json](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/json/fn-merge-json.md): Shallow-merge two optional JSON values. - [Type Alias Json](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/json/type-json.md): Type alias for `serde_json::Value`, used as the universal JSON representation throughout NeMo Relay APIs. - [Module logging](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging.md): Operational process logging for Relay (stderr + optional file sinks). - [Struct File LogRotation Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/struct-filelogrotationconfig.md): Size-based rotation settings for a file log sink. - [Struct File LogSink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/struct-filelogsinkconfig.md): File sink settings for non-blocking operational logging. - [Struct Logging Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/struct-loggingconfig.md): Operational logging configuration for `LoggingRuntime::configure`. - [Struct Logging Runtime](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/struct-loggingruntime.md): Owns logging resources that must remain alive for the process / run lifetime. - [Enum LogFormat](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/enum-logformat.md): Output encoding for an operational log sink. - [Enum LogLevel](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/enum-loglevel.md): Global / per-sink minimum severity for operational logs. - [Enum LogSink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/enum-logsinkconfig.md): Additional operational log sink beyond always-on stderr. - [Constant DEFAULT_FILE_FLUSH_INTERVAL_MILLIS](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/constant-default-file-flush-interval-millis.md): Default periodic flush interval when `LoggingConfig::flush_interval_millis` is omitted. - [Constant DEFAULT_FILE_SINK_QUEUE_ENTRIES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/constant-default-file-sink-queue-entries.md): Default number of pending asynchronous queue entries per file sink when `queue_capacity` is omitted. - [Constant MAX_FILE_SINK_QUEUE_ENTRIES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/constant-max-file-sink-queue-entries.md): Fixed hard maximum number of pending asynchronous queue entries per file sink. - [Constant MAX_FILE_SINK_RETAINED_FILES](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/constant-max-file-sink-retained-files.md): Fixed hard maximum number of retained backup files per rotating file sink. - [Function emit](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/fn-emit.md): Emits a structured operational record through Relay's configured logger. - [Function emit_str](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/fn-emit-str.md): Emits a structured record using a binding-facing level name. - [Function init_logging](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/logging/fn-init-logging.md): Installs process-wide operational logging from resolved config. - [Module observability](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability.md): Optional observability integrations for NeMo Relay Core. - [Module atif](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif.md): Agent Trajectory Interchange Format (ATIF) exporter. - [Struct Atif Agent Info](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifagentinfo.md): Information about the agent that produced the trajectory. - [Struct Atif Ancestry](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifancestry.md): Lineage node identifying a callable within an ATIF step. - [Struct Atif Exporter](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifexporter.md): Collects lifecycle events and exports them as ATIF trajectories. - [Struct Atif Final Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atiffinalmetrics.md): Aggregate statistics for the entire trajectory (ATIF final_metrics). - [Struct Atif Invocation Info](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifinvocationinfo.md): Invocation timing and correlation metadata for one execution occurrence. - [Struct Atif Metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifmetrics.md): Token usage and cost metrics for a single step. - [Struct Atif Observation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifobservation.md): Observation results from tool execution. - [Struct Atif Observation Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifobservationresult.md): A single observation result from a tool call. - [Struct Atif Step](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifstep.md): A single step in an ATIF trajectory. - [Struct Atif Step Extra](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifstepextra.md): Lineage payload serialized into ATIF `Step.extra`. - [Struct Atif Subagent Trajectory Ref](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atifsubagenttrajectoryref.md): Reference to a delegated subagent trajectory. - [Struct Atif Tool Call](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atiftoolcall.md): A tool call made by the agent. - [Struct Atif Trajectory](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/struct-atiftrajectory.md): A complete ATIF trajectory. - [Constant ATIF_SCHEMA_VERSION](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atif/constant-atif-schema-version.md): The ATIF schema version string embedded in all exported trajectories. - [Module atof](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof.md): Agent Trajectory Observability Format (ATOF) JSONL exporter support for NeMo Flow. - [Struct Atof Exporter](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/struct-atofexporter.md): Filesystem-backed Agent Trajectory Observability Format (ATOF) JSONL event exporter. - [Struct Atof Exporter Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/struct-atofexporterconfig.md): Configuration for `AtofExporter`. - [Struct Atof File Sink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/struct-atoffilesinkconfig.md): Filesystem sink for raw ATOF JSONL events. - [Struct Atof Stream Sink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/struct-atofstreamsinkconfig.md): Streaming sink for raw ATOF events. - [Enum Atof Endpoint Field Name Policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/enum-atofendpointfieldnamepolicy.md): Field name transformation policy used before sending events to an endpoint. - [Enum Atof Endpoint Transport](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/enum-atofendpointtransport.md): Streaming transport used by an ATOF endpoint. - [Enum Atof Exporter Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/enum-atofexportererror.md): Errors produced while configuring or operating the ATOF JSONL exporter. - [Enum Atof Exporter Mode](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/enum-atofexportermode.md): File write behavior for `AtofExporter`. - [Enum Atof Sink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/enum-atofsinkconfig.md): One destination for raw ATOF events. - [Type Alias Atof Endpoint Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/type-atofendpointconfig.md): Backward-compatible name for an ATOF stream sink. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/atof/type-result.md): Result type for the ATOF JSONL exporter. - [Module otel](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel.md): OpenTelemetry subscriber support for NeMo Relay. - [Struct Open Telemetry Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-opentelemetryconfig.md): Configuration for an OpenTelemetry subscriber exporting to a collector. - [Struct Open Telemetry File Sink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-opentelemetryfilesinkconfig.md): Configuration for an OpenTelemetry subscriber writing OTLP to a local file. - [Struct Open Telemetry Subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-opentelemetrysubscriber.md): OpenTelemetry-backed NeMo Relay subscriber. - [Struct Open Telemetry Subscriber Options](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-opentelemetrysubscriberoptions.md): Options for constructing an OpenTelemetry subscriber from an existing tracer provider. - [Struct Otlp File Sink Settings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/struct-otlpfilesinksettings.md): A local file destination for exported spans. - [Enum Open Telemetry Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/enum-opentelemetryerror.md): Errors produced while configuring or operating the OpenTelemetry subscriber. - [Enum Otlp File Sink Mode](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/enum-otlpfilesinkmode.md): Open mode used when a trace file sink creates its output file. - [Enum Otlp Transport](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/enum-otlptransport.md): Supported OTLP trace transports. - [Constant DEFAULT_COMPLETED_SPAN_CONTEXT_TTL](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/constant-default-completed-span-context-ttl.md): Default period for attaching late marks to a completed scope's trace span. - [Function default_otlp_file_sink_filename](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/fn-default-otlp-file-sink-filename.md): Returns the default output filename for a trace file sink. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel/type-result.md): Result type for the OpenTelemetry subscriber crate. - [Module otel_file](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_file.md): OTLP file export for NeMo Relay Core. - [Struct Otlp File Span Exporter](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_file/struct-otlpfilespanexporter.md): Writes exported spans to a local file as OTLP. - [Enum Otlp File Exporter Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_file/enum-otlpfileexportererror.md): Errors produced while configuring or operating the OTLP file exporter. - [Enum Otlp File Format](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_file/enum-otlpfileformat.md): On-disk encoding used by `OtlpFileSpanExporter`. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_file/type-result.md): Result type for the OTLP file exporter. - [Module otel_logs](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_logs.md): OpenTelemetry log export for sanitized Relay mark events. - [Struct Open Telemetry LogConfig](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_logs/struct-opentelemetrylogconfig.md): Configuration for an OTLP log subscriber. - [Struct Open Telemetry LogSubscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_logs/struct-opentelemetrylogsubscriber.md): OpenTelemetry log-backed Relay event subscriber. - [Function resolve_http_log_endpoint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_logs/fn-resolve-http-log-endpoint.md): Resolve an OTLP/HTTP endpoint for the logs signal. - [Module otel_metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_metrics.md): OpenTelemetry metric export for Relay metric marks. - [Struct Open Telemetry Metric Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_metrics/struct-opentelemetrymetricconfig.md): Configuration for an OTLP metric subscriber. - [Struct Open Telemetry Metric Subscriber](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_metrics/struct-opentelemetrymetricsubscriber.md): OpenTelemetry metric-backed Relay event subscriber. - [Enum Metric Temporality](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_metrics/enum-metrictemporality.md): Preferred aggregation temporality for OTLP metrics. - [Function resolve_http_metric_endpoint](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/otel_metrics/fn-resolve-http-metric-endpoint.md): Resolve an OTLP/HTTP endpoint for the metrics signal. - [Module plugin_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component.md): Built-in observability plugin component. - [Struct Atif Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-atifsectionconfig.md): Per-trajectory ATIF exporter config. - [Struct Atof File Sink Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-atoffilesinksectionconfig.md): File sink settings for the ATOF plugin section. - [Struct Atof Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-atofsectionconfig.md): Multi-sink ATOF JSONL exporter config. - [Struct Atof Stream Sink Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-atofstreamsinksectionconfig.md): Stream sink settings for the ATOF plugin section. - [Struct Component Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-componentspec.md): Top-level observability component wrapper. - [Struct Http Storage Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-httpstorageconfig.md): HTTP endpoint settings for ATIF trajectory upload. - [Struct Observability Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-observabilityconfig.md): Canonical config document for the observability plugin component. - [Struct Open Telemetry Endpoint Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetryendpointconfig.md): One typed OTLP destination. - [Struct Open Telemetry File Sink Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetryfilesinkconfig.md): One local file destination for projected OTLP spans. - [Struct Open Telemetry LogSection Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetrylogsectionconfig.md): OTLP log pipeline settings. - [Struct Open Telemetry Metric Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetrymetricsectionconfig.md): OTLP metric pipeline settings. - [Struct Open Telemetry Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetrysectionconfig.md): Multi-endpoint OpenTelemetry export settings. - [Struct Open Telemetry Signal Endpoint Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-opentelemetrysignalendpointconfig.md): Signal-common OTLP destination fields used by logs and metrics. - [Struct S3Storage Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/struct-s3storageconfig.md): S3-compatible storage settings for ATIF trajectory upload. - [Enum Atif Storage Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/enum-atifstorageconfig.md): Remote storage destination for ATIF trajectory files. - [Enum Atof Sink Section Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/enum-atofsinksectionconfig.md): One plugin-managed destination for raw ATOF events. - [Constant OBSERVABILITY_PLUGIN_KIND](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/constant-observability-plugin-kind.md): The plugin kind registered by the core crate. - [Function deregister_observability_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/fn-deregister-observability-component.md): Deregisters the observability component kind from the core plugin registry. - [Function register_observability_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/plugin_component/fn-register-observability-component.md): Registers the observability component kind in the core plugin registry. - [Struct Open Telemetry Runtime Diagnostic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/struct-opentelemetryruntimediagnostic.md): A bounded aggregate describing an OpenTelemetry runtime problem. - [Struct Open Telemetry Runtime Diagnostics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/struct-opentelemetryruntimediagnostics.md): Snapshot of bounded runtime diagnostics recorded by an OpenTelemetry subscriber. - [Struct Open Telemetry TlsConfig](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/struct-opentelemetrytlsconfig.md): Optional certificate and private key file paths for one OTLP endpoint. - [Struct Otlp Attribute Mapping](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/struct-otlpattributemapping.md): Copies a projected OTLP attribute to a second attribute name. - [Enum Mark Projection](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/enum-markprojection.md): Export representation for point-in-time mark events. - [Enum Open Telemetry Type](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/enum-opentelemetrytype.md): Semantic projection emitted by an OpenTelemetry exporter. - [Function default_mark_exclude_names](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/fn-default-mark-exclude-names.md): Default mark names excluded from tool projection because they are emitted at high volume and are better represented as exporter-native events. Return the default mark names excluded from OpenTelemetry projections. - [Function validate_attribute_mappings](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/fn-validate-attribute-mappings.md): Validates OTLP attribute mappings shared by exporter configuration surfaces. - [Function validate_metadata_promotion_prefixes](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/observability/fn-validate-metadata-promotion-prefixes.md): Validates literal Event metadata prefixes promoted to OTLP attributes. - [Module plugin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin.md): Generic plugin infrastructure for NeMo Relay runtimes. - [Module dynamic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic.md): Dynamic plugin control-plane and registry model. - [Struct Dynamic Plugin Failure](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginfailure.md): One structured recent failure summary. - [Struct Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginhostpolicy.md): Effective host policy for dynamic plugins. - [Struct Dynamic Plugin Host Policy Effect](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginhostpolicyrule.md): One ordered policy rule. - [Struct Dynamic Plugin Manifest](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifest.md): Authored `relay-plugin.toml` manifest. - [Struct Dynamic Plugin Manifest Capabilities](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestcapabilities.md): Capability declarations for authored manifests. - [Struct Dynamic Plugin Manifest Compat](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestcompat.md): Compatibility block for `relay-plugin.toml`. - [Struct Dynamic Plugin Manifest Config Schema](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestconfigschema.md): Static configuration schema block for authored manifests. - [Struct Dynamic Plugin Manifest Defaults](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestdefaults.md): Defaults block for authored manifests. - [Struct Dynamic Plugin Manifest Integrity](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestintegrity.md): Integrity/authenticity evidence block for authored manifests. - [Struct Dynamic Plugin Manifest Plugin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestplugin.md): Plugin identity block for `relay-plugin.toml`. - [Struct Dynamic Plugin Manifest Rust Dynamic Load](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestrustdynamicload.md): Native shared-library authored load block. - [Struct Dynamic Plugin Manifest Source](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestsource.md): Source block for authored manifests. - [Struct Dynamic Plugin Manifest Worker Load](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmanifestworkerload.md): Worker lane authored load block. - [Struct Dynamic Plugin Metadata](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginmetadata.md): Stable metadata for one durable plugin record. - [Struct Dynamic Plugin Record](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginrecord.md): Durable control-plane record for a dynamic plugin. - [Struct Dynamic Plugin Registry](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginruntimestatus.md): Observed runtime state for one plugin record. - [Struct Dynamic Plugin Rust Compatibility](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginrustcompatibility.md): Compatibility contract for native shared libraries. - [Struct Dynamic Plugin Rust Load Contract](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginrustloadcontract.md): Lane-specific load contract for native shared libraries. - [Struct Dynamic Plugin Source](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginsource.md): Source and resolved artifact facts for a plugin. - [Struct Dynamic Plugin Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginspec.md): Desired-state fields owned by user-facing operations. - [Struct Dynamic Plugin Status](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginstatus.md): Durable observed state for a plugin record. - [Struct Dynamic Plugin Validation Report](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginvalidationstatus.md): Decomposed validation results for one plugin record. - [Struct Dynamic Plugin Worker Compatibility](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginworkercompatibility.md): Compatibility contract for worker plugins. - [Struct Dynamic Plugin Worker Load Contract](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-dynamicpluginworkerloadcontract.md): Lane-specific load contract for worker plugins. - [Struct Evaluated Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-evaluateddynamicplugintrust.md): Result of integrity and authenticity verification. - [Struct File Dynamic Plugin Host Policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-filedynamicpluginhostpolicy.md): The TOML representation accepted below `[plugins.policy]`. - [Struct File Dynamic Plugin Host Policy Effect](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-filedynamicpluginhostpolicyeffect.md): File-level partial policy effect. - [Struct File Dynamic Plugin Host Policy Rule](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-filedynamicpluginhostpolicyrule.md): File-level ordered policy rule. - [Struct Native Plugin Activation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-nativepluginactivation.md): Owns native dynamic libraries registered into the plugin registry. - [Struct Native Plugin Load Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-nativepluginloadspec.md): Native plugin load request derived from host dynamic-plugin state. - [Struct Plugin Host Activation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-pluginhostreport.md): Combined static and dynamic host report. - [Struct Verified Dynamic Plugin Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-workercallbacktimeouts.md): Time limits for short worker callbacks, in milliseconds, enforced by the host. - [Struct Worker Plugin Activation](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/struct-workerpluginactivation.md): Owns gRPC worker processes registered into the plugin registry. - [Struct Worker Plugin Load Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginattestationmode.md): Host attestation policy mode. - [Enum Dynamic Plugin Capability](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicplugincapability.md): Relay-enforced capability declared by a dynamic plugin. - [Enum Dynamic Plugin Check State](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicplugincheckstate.md): High-level verification state for one validation axis. - [Enum Dynamic Plugin Compatibility](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicplugincompatibility.md): Lane-specific compatibility declarations and resolved compatibility facts. - [Enum Dynamic Plugin Failure Phase](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginhostpolicyfailure.md): A policy refusal. - [Enum Dynamic Plugin Kind](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginkind.md): Plugin execution lane. - [Enum Dynamic Plugin Load Contract](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginloadcontract.md): Runtime entry contract for the resolved plugin. - [Enum Dynamic Plugin Manifest Load](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginmanifestload.md): Load block for authored manifests. - [Enum Dynamic Plugin Runtime State](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginruntimestate.md): Observed runtime state for a dynamic plugin. - [Enum Dynamic Plugin Startup Class](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginstartupclass.md): Host policy startup classification for a plugin. - [Enum Dynamic Plugin Trust Failure](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicplugintrustfailure.md): A failed artifact trust check. - [Enum Worker Runtime](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-workerruntime.md): Managed runtime identity for worker-based plugins. - [Constant DYNAMIC_PLUGIN_MANIFEST_FILENAME](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/fn-initialize.md): Initializes the process-wide static and dynamic plugin host. - [Function initialize_with_diagnostics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/fn-validate-exact.md): Validates only the supplied static plugin configuration. - [Type Alias Dynamic Plugin Id](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/type-dynamicpluginid.md): Canonical identifier for one dynamic plugin record. - [Struct Config Diagnostic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-configdiagnostic.md): Structured diagnostic reported while validating or activating plugin configuration. - [Struct Config Policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-configpolicy.md): Policy for how unsupported plugin/runtime config is handled. - [Struct Config Report](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-configreport.md): Structured configuration and activation report. - [Struct Plugin Component Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-plugincomponentspec.md): One configured plugin component. - [Struct Plugin Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-pluginconfig.md): Canonical plugin configuration document. - [Struct Plugin Registration](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-pluginregistration.md): Bookkeeping for one middleware/subscriber registration. - [Struct Plugin Registration Context](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-pluginregistrationcontext.md): Context provided to plugin handlers during runtime registration. - [Struct Plugin Rollback Outcome](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-pluginrollbackoutcome.md): Result of rolling back a set of plugin registrations. - [Struct Runtime Diagnostic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/struct-runtimediagnostic.md): Bounded aggregate for a runtime failure observed by an active plugin. - [Enum Diagnostic Level](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/enum-diagnosticlevel.md): Severity of a plugin configuration or activation diagnostic. - [Enum Plugin Error](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/enum-pluginerror.md): Error type for generic plugin operations. - [Enum Unsupported Behavior](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/enum-unsupportedbehavior.md): Per-policy behavior for unsupported configuration. - [Trait Plugin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/trait-plugin.md): Implemented by custom plugins that register runtime middleware. - [Function apply_global_config_policy](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/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/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-deregister-plugin.md): Removes a previously registered plugin. - [Function ensure_builtin_plugins_registered](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-ensure-builtin-plugins-registered.md): Registers core-provided plugin kinds. - [Function list_plugin_kinds](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-list-plugin-kinds.md): Lists registered plugin kinds in sorted order. - [Function lookup_plugin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-lookup-plugin.md): Looks up a registered plugin by kind. - [Function record_active_plugin_runtime_diagnostic](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-record-active-plugin-runtime-diagnostic.md): Updates the existing active-only runtime report. - [Function register_plugin](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-register-plugin.md): Registers a plugin by kind. - [Function rollback_registrations](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-rollback-registrations.md): Rolls back registrations in reverse order. - [Type Alias Result](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugin/type-result.md): Specialized `Result` type for plugin operations. - [Module plugins](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins.md): First-party plugin implementations for NeMo Relay Core. - [Module model_pricing](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/model_pricing.md): Built-in model pricing plugin component module. - [Constant PRICING_PLUGIN_KIND](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/model_pricing/constant-pricing-plugin-kind.md): Plugin kind used by the model pricing component. - [Function register_pricing_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/model_pricing/fn-register-pricing-component.md): Registers the built-in model pricing component. - [Module nemo_guardrails](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails.md): Deprecated built-in NeMo Guardrails plugin integration for NeMo Relay Core. - [Module component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component.md): NeMo Guardrails plugin component contract. - [Struct Component Spec](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-componentspec.md): Top-level NeMo Guardrails component wrapper. - [Struct Local Backend Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-localbackendconfig.md): Local-backend settings for the Python `nemoguardrails` runtime. - [Struct NeMo Guardrails Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-nemoguardrailsconfig.md): Canonical config document for the deprecated built-in NeMo Guardrails component. - [Struct Remote Backend Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-remotebackendconfig.md): Remote-backend settings for a hosted NeMo Guardrails service. - [Struct Request Defaults Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-requestdefaultsconfig.md): Default request semantics applied by the selected Guardrails backend. - [Struct Request Rails Config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/struct-requestrailsconfig.md): Request-time rail selection for Guardrails generation. - [Enum Rail Selector](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/enum-railselector.md): Rail-selection shape used by Guardrails generation options. - [Constant NEMO_GUARDRAILS_PLUGIN_KIND](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/constant-nemo-guardrails-plugin-kind.md): The built-in NeMo Guardrails plugin kind. - [Function deregister_nemo_guardrails_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/fn-deregister-nemo-guardrails-component.md): Deregisters the `nemo_guardrails` component kind from the plugin registry. - [Function register_nemo_guardrails_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/nemo_guardrails/component/fn-register-nemo-guardrails-component.md): Registers the `nemo_guardrails` component kind in the plugin registry. - [Module resource_metrics](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/resource_metrics.md): Built-in resource metrics plugin component. - [Constant RESOURCE_METRICS_PLUGIN_KIND](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/resource_metrics/constant-resource-metrics-plugin-kind.md): Plugin kind used by the resource metrics component. - [Function register_resource_metrics_component](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/plugins/resource_metrics/fn-register-resource-metrics-component.md): Registers the built-in resource metrics component. - [Module stream](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/stream.md): Streaming LLM response wrapper. - [Struct LlmStream Wrapper](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/stream/struct-llmstreamwrapper.md): Wraps an inner `Stream>` of raw chunks and: - [Macro editor_config](https://docs.nvidia.com/nemo/relay/v0.11.0/reference/api/rust-library-reference/nemo-relay/macro-editor-config.md): Implements `EditorConfig` for a configuration type.