pub struct CursorAdapter;Implementations§
Source§impl CursorAdapter
impl CursorAdapter
Trait Implementations§
Source§impl ToolAdapter for CursorAdapter
impl ToolAdapter for CursorAdapter
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 CursorAdapter
impl RefUnwindSafe for CursorAdapter
impl Send for CursorAdapter
impl Sync for CursorAdapter
impl Unpin for CursorAdapter
impl UnsafeUnpin for CursorAdapter
impl UnwindSafe for CursorAdapter
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