> This page is for NeMo Relay, version dev.
> For other versions, use one of these documentation indexes:
> - Latest (v0.10.4) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.10.4: https://docs.nvidia.com/nemo/relay/v0.10.4/llms.txt
> - v0.9.4: https://docs.nvidia.com/nemo/relay/v0.9.4/llms.txt
> - v0.8.4: https://docs.nvidia.com/nemo/relay/v0.8.4/llms.txt
> - v0.7.3: https://docs.nvidia.com/nemo/relay/v0.7.3/llms.txt

> 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 Diagnostics Reader

> Read capability for one context, without recording or lifecycle authority.

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 DiagnosticsReader { /* private fields */ }
```

Read capability for one context, without recording or lifecycle authority.

Clones keep the context alive. Materialization requires a bounded lease; disabled collection is explicit instead of fabricated empty evidence.

## Implementations

### `impl DiagnosticsReader`

<pre />

#### `discovery`

<pre />

Discover configured capabilities without a snapshot lease or state mutation.

#### `memory_usage`

<pre />

Inspect reserved backing bytes and occupancy without modifying evidence.

#### `limits`

<pre />

Inspect configured capacities separately from actual backing allocation.

#### `snapshot`

<pre />

Capture a bounded consistent page with continuation and coverage.

A held lease occupies one workspace. Serialization follows store unlocking; polling neither increments counters nor resets refresh summaries. Disabled collection returns [`DiagnosticError::Disabled`](/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticerror). An enabled context with no query pool returns [`DiagnosticError::QueryDisabled`](/reference/api/rust-library-reference/nemo-relay/diagnostics/enum-diagnosticerror).

#### `availability`

<pre />

Report configured availability without materializing a snapshot.

Available means enabled, not complete producer integration or deployment health.

## Trait Implementations

### `impl Clone for DiagnosticsReader`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DiagnosticsReader`

<pre />

#### `fmt`

<pre />