> 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.10.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 codec types, traits, and built-in implementations. * [config\_editor](/reference/api/rust-library-reference/nemo-relay/config_editor): Typed configuration editor metadata. * [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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/enum-builtinllmcodec.md): Relay's built-in LLM codec identities. - [Type Alias LlmCollector Fn](https://docs.nvidia.com/nemo/relay/v0.10.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmcollectorfn.md): Per-chunk collector used by the streaming LLM runtime. - [Enum LlmCodec Identity](https://docs.nvidia.com/nemo/relay/v0.10.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 LlmConditional Fn](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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 LlmFinalizer Fn](https://docs.nvidia.com/nemo/relay/v0.10.0/reference/api/rust-library-reference/nemo-relay/api/runtime/callbacks/type-llmfinalizerfn.md): Finalizer used to synthesize the aggregate streaming response payload. - [Struct LlmJson Stream](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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 Thread Scope Stack Binding](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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 fork_scope_stack](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/api/runtime/struct-llmexecutioncontext.md): Codec access for one LLM execution. - [Enum Builtin LlmCodec](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/codec.md): LLM codec types, traits, and built-in implementations. - [Module anthropic](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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 traits](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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 error](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/observability/struct-opentelemetryruntimediagnostics.md): Snapshot of bounded runtime diagnostics recorded by an OpenTelemetry subscriber. - [Struct Otlp Attribute Mapping](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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 Report](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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 Plugin Activation](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/enum-dynamicpluginfailurephase.md): Recent failure phase for diagnostics and operator UX. - [Enum Dynamic Plugin Host Policy Failure](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/plugin/dynamic/fn-initialize.md): Initializes the process-wide static and dynamic plugin host. - [Function load_native_plugins](https://docs.nvidia.com/nemo/relay/v0.10.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_worker_plugins](https://docs.nvidia.com/nemo/relay/v0.10.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 read_bounded_regular_file](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/plugin/fn-record-active-plugin-runtime-diagnostic.md): Record a bounded runtime diagnostic against the active plugin report. - [Function register_plugin](https://docs.nvidia.com/nemo/relay/v0.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.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.10.0/reference/api/rust-library-reference/nemo-relay/stream.md): Streaming LLM response wrapper. - [Struct LlmStream Wrapper](https://docs.nvidia.com/nemo/relay/v0.10.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.10.0/reference/api/rust-library-reference/nemo-relay/macro-editor-config.md): Implements `EditorConfig` for a configuration type.