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

# Trait Worker Plugin

> Trait implemented by Rust out-of-process worker plugins.

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

<pre />

Trait implemented by Rust out-of-process worker plugins.

## Required Methods

#### `plugin_id`

<pre />

Stable plugin id/kind returned to the Relay host.

#### `register`

<pre />

Registers callbacks into the worker context.

## Provided Methods

#### `allows_multiple_components`

<pre />

Whether multiple configured components of this plugin kind are allowed.

#### `validate`

<pre />

Validates component config.

## Implementors