pub struct SpawnConfig {
pub program: String,
pub args: Vec<String>,
pub work_dir: String,
pub env: Vec<(String, String)>,
}Expand description
Configuration for spawning an agent process.
Fields§
§program: StringThe program to execute (e.g., “claude”, “codex”, “aider”).
args: Vec<String>Arguments to pass to the program.
work_dir: StringWorking directory for the agent process.
env: Vec<(String, String)>Environment variables to set (key, value pairs).
Trait Implementations§
Source§impl Clone for SpawnConfig
impl Clone for SpawnConfig
Source§fn clone(&self) -> SpawnConfig
fn clone(&self) -> SpawnConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpawnConfig
impl RefUnwindSafe for SpawnConfig
impl Send for SpawnConfig
impl Sync for SpawnConfig
impl Unpin for SpawnConfig
impl UnsafeUnpin for SpawnConfig
impl UnwindSafe for SpawnConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more