Skip to main content

ToolShellEnvHost

Trait ToolShellEnvHost 

Source
pub trait ToolShellEnvHost: Send + Sync {
    // Required method
    fn collect_shell_env(
        &self,
        tool_name: &str,
        tool_args: &Value,
    ) -> HashMap<String, String>;
}
Expand description

Shell shell_env hook injection port (#456).

Required Methods§

Source

fn collect_shell_env( &self, tool_name: &str, tool_args: &Value, ) -> HashMap<String, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§