> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/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.

# Struct LlmOptimization Recorder

> Cloneable capability for adding evidence to the current managed LLM call.

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`.

```rust
pub struct LlmOptimizationRecorder { /* private fields */ }
```

Cloneable capability for adding evidence to the current managed LLM call.

A streaming execution intercept may capture this value before returning its stream and use it when the route is committed by the first upstream item.

## Implementations

### `impl LlmOptimizationRecorder`

<pre />

#### `record`

<pre />

Record one contribution without blocking on I/O or exporter delivery.

Returns `false` when the contribution is rejected by a payload/schema invariant, a per-call bound, or because accounting has already closed. Rejection never affects LLM execution and does not consume a sequence.

## Trait Implementations

### `impl Clone for LlmOptimizationRecorder`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for LlmOptimizationRecorder`

<pre />

#### `fmt`

<pre />

### `impl Default for LlmOptimizationRecorder`

<pre />

#### `default`

<pre />