pub struct CodexTarget;Expand description
Codex target for OpenAI Codex CLI.
File format: TOML with [mcp_servers.<name>] tables
Trait Implementations§
Source§impl Target for CodexTarget
impl Target for CodexTarget
Source§fn global_path(&self) -> Result<PathBuf>
fn global_path(&self) -> Result<PathBuf>
Returns the path to the global (user-level) configuration file.
Source§fn project_path(&self, project_root: &Path) -> PathBuf
fn project_path(&self, project_root: &Path) -> PathBuf
Returns the path to the project-level configuration file.
Source§fn sync(&self, path: &Path, canon: &Canon, opts: &SyncOptions) -> Result<()>
fn sync(&self, path: &Path, canon: &Canon, opts: &SyncOptions) -> Result<()>
Syncs the canonical configuration to the target file. Read more
Source§fn sync_global(&self, canon: &Canon, opts: &SyncOptions) -> Result<()>
fn sync_global(&self, canon: &Canon, opts: &SyncOptions) -> Result<()>
Syncs to the global configuration file.
Source§fn sync_project(
&self,
project_root: &Path,
canon: &Canon,
opts: &SyncOptions,
) -> Result<()>
fn sync_project( &self, project_root: &Path, canon: &Canon, opts: &SyncOptions, ) -> Result<()>
Syncs to the project configuration file.
Auto Trait Implementations§
impl Freeze for CodexTarget
impl RefUnwindSafe for CodexTarget
impl Send for CodexTarget
impl Sync for CodexTarget
impl Unpin for CodexTarget
impl UnwindSafe for CodexTarget
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