Skip to navigation

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.

pub struct ExecutionOptions {
    pub conditional_execution: bool,
    pub request_intercepts: bool,
    pub execution_intercepts: bool,
}

Stage options for managed calls. Choose which middleware stages run for one managed call.

All stages run by default and keep their usual order. Nested calls use their own options. These options do not change middleware registrations. Relay still sanitizes event data, uses codecs, passes trace context, and handles call completion. Turning off conditional execution skips its checks.

Fields

conditional_execution: bool

Evaluate conditional-execution guardrails on the original input.

request_intercepts: bool

Apply registered request intercepts before execution.

execution_intercepts: bool

Wrap the callback in registered execution intercepts. Streaming LLM calls use streaming execution intercepts.

Trait Implementations

impl Clone for ExecutionOptions

impl Clone for ExecutionOptions

clone

fn clone(&self) -> ExecutionOptions

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for ExecutionOptions

impl Debug for ExecutionOptions

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

impl Default for ExecutionOptions

impl Default for ExecutionOptions

default

fn default() -> ExecutionOptions

impl PartialEq for ExecutionOptions

impl PartialEq for ExecutionOptions

eq

fn eq(&self, other: &ExecutionOptions) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Copy for ExecutionOptions

impl Copy for ExecutionOptions

impl Eq for ExecutionOptions

impl Eq for ExecutionOptions

impl StructuralPartialEq for ExecutionOptions

impl StructuralPartialEq for ExecutionOptions