pub struct CodexConfig {
pub codex_bin: Option<PathBuf>,
pub launch_args_override: Option<Vec<OsString>>,
pub config_overrides: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: HashMap<OsString, OsString>,
pub client_name: String,
pub client_title: String,
pub client_version: String,
pub experimental_api: bool,
pub approval_handler: ApprovalHandler,
}Expand description
Configuration for launching and identifying the local Codex runtime.
Fields§
§codex_bin: Option<PathBuf>§launch_args_override: Option<Vec<OsString>>§config_overrides: Vec<String>§cwd: Option<PathBuf>§env: HashMap<OsString, OsString>§client_name: String§client_title: String§client_version: String§experimental_api: bool§approval_handler: ApprovalHandlerTrait Implementations§
Source§impl Clone for CodexConfig
impl Clone for CodexConfig
Source§impl Debug for CodexConfig
impl Debug for CodexConfig
Auto Trait Implementations§
impl !RefUnwindSafe for CodexConfig
impl !UnwindSafe for CodexConfig
impl Freeze for CodexConfig
impl Send for CodexConfig
impl Sync for CodexConfig
impl Unpin for CodexConfig
impl UnsafeUnpin for CodexConfig
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