> 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 Native Executor Config

> Configuration for the executor owned by one exported native plugin.

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

Configuration for the executor owned by one exported native plugin.

## Fields

### `worker_threads: usize`

Number of Tokio worker threads dedicated to the plugin.

## Implementations

### `impl NativeExecutorConfig`

<pre />

#### `with_component_config`

<pre />

Applies an optional component-local executor override.

Relay passes `[plugins.dynamic.config.executor]` as the `executor` object in `plugin_config`. The only supported setting is the positive integer `worker_threads`.

## Trait Implementations

### `impl Clone for NativeExecutorConfig`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for NativeExecutorConfig`

<pre />

#### `fmt`

<pre />

### `impl Default for NativeExecutorConfig`

<pre />

#### `default`

<pre />

### `impl PartialEq for NativeExecutorConfig`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Copy for NativeExecutorConfig`

<pre />

### `impl Eq for NativeExecutorConfig`

<pre />

### `impl StructuralPartialEq for NativeExecutorConfig`

<pre />