pub struct CodexAdapter;Implementations§
Source§impl CodexAdapter
impl CodexAdapter
Trait Implementations§
Source§impl ToolAdapter for CodexAdapter
impl ToolAdapter for CodexAdapter
Source§fn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable display name (e.g. “Claude Code”, “Cursor”).
Source§fn is_installed(&self) -> bool
fn is_installed(&self) -> bool
Check if this tool is installed on the system.
Source§fn hooks_registered(&self) -> bool
fn hooks_registered(&self) -> bool
Check if agent-hand hooks are registered in this tool’s config.
Source§fn register_hooks(&self, bridge_script: &Path) -> Result<()>
fn register_hooks(&self, bridge_script: &Path) -> Result<()>
Register agent-hand hooks into this tool’s config. Read more
Source§fn unregister_hooks(&self) -> Result<()>
fn unregister_hooks(&self) -> Result<()>
Remove agent-hand hooks from this tool’s config.
Source§fn config_path(&self) -> Option<PathBuf>
fn config_path(&self) -> Option<PathBuf>
Path to this tool’s configuration file (for display purposes).
Source§fn supported_events(&self) -> &[&str]
fn supported_events(&self) -> &[&str]
Event types this tool supports.
Source§fn status(&self) -> ToolStatus
fn status(&self) -> ToolStatus
Get the current status of this tool.
Auto Trait Implementations§
impl Freeze for CodexAdapter
impl RefUnwindSafe for CodexAdapter
impl Send for CodexAdapter
impl Sync for CodexAdapter
impl Unpin for CodexAdapter
impl UnsafeUnpin for CodexAdapter
impl UnwindSafe for CodexAdapter
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