> This page is for NeMo Relay, version dev.
> For other versions, use one of these documentation indexes:
> - Latest (v0.11.1) (default): https://docs.nvidia.com/nemo/relay/latest/llms.txt
> - dev: https://docs.nvidia.com/nemo/relay/dev/llms.txt
> - v0.11.1: https://docs.nvidia.com/nemo/relay/v0.11.1/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 Diagnostic Capabilities

> Host-owned limits and contract identities required for diagnostic admission.

Generated from `cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Host-owned limits and contract identities required for diagnostic admission.

## Fields

### `protocol: Option<ProtocolIdentity>`

Required protocol name and semantic contract version to confirm during handshake.

### `snapshot_contract_version: String`

These transport contracts start at 1.0.0; core catalogue revisions do not.

### `catalogue_version: u32`

Core diagnostic catalogue revision, independent of the worker contract version.

### `enabled: bool`

Whether the host accepts diagnostic recording for this activation.

### `can_read_context: bool`

Whether separately authorized context-wide snapshot reads are granted.

### `max_components: u32`

Host bound on component admission or requested component page size.

### `max_extensions: u32`

Maximum plugin-defined diagnostic extensions admitted in the session.

### `max_metadata_bytes: u32`

Maximum encoded component and code registration metadata admitted by the host.

### `max_request_bytes: u32`

Complete encoded SubmitDiagnosticRequest, including credentials and sequence.

### `max_detail_bytes: u32`

Maximum diagnostic detail bytes permitted by the host.

### `max_correlation_bytes: u32`

Maximum trajectory correlation bytes permitted by the host.

### `max_response_bytes: u32`

Maximum complete encoded diagnostic response size.

### `max_pending_submissions: u32`

Queue capacity excludes the one in-flight submission.

### `retry_attempts: u32`

Maximum submission attempts, including the initial attempt.

### `retry_timeout_duration: Option<Duration>`

Deadline for each diagnostic submission attempt, from one millisecond to ten seconds.

### `provenance_contract_version: String`

Supported authenticated remote-provenance contract version, initially 1.0.0.

### `can_read_discovery: bool`

Grants side-effect-free source discovery only; unsupported or denied is false.

### `can_inspect_memory: bool`

Grants bounded memory inspection only; it never starts resource collection.

## Trait Implementations

### `impl Clone for DiagnosticCapabilities`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for DiagnosticCapabilities`

<pre />

#### `fmt`

<pre />

### `impl Default for DiagnosticCapabilities`

<pre />

#### `default`

<pre />

### `impl Hash for DiagnosticCapabilities`

<pre />

#### `hash`

<pre />

#### `hash_slice`

<pre />

### `impl Message for DiagnosticCapabilities`

<pre />

#### `encoded_len`

<pre />

#### `clear`

<pre />

#### `encode`

<pre />

#### `encode_to_vec`

<pre />

#### `encode_length_delimited`

<pre />

#### `encode_length_delimited_to_vec`

<pre />

#### `decode`

<pre />

#### `decode_length_delimited`

<pre />

#### `merge`

<pre />

#### `merge_length_delimited`

<pre />

### `impl Name for DiagnosticCapabilities`

<pre />

#### `NAME`

<pre />

#### `PACKAGE`

<pre />

#### `full_name`

<pre />

#### `type_url`

<pre />

### `impl PartialEq for DiagnosticCapabilities`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Eq for DiagnosticCapabilities`

<pre />

### `impl StructuralPartialEq for DiagnosticCapabilities`

<pre />