pub struct ClaudeTarget;Trait Implementations§
Source§impl Target for ClaudeTarget
impl Target for ClaudeTarget
fn name(&self) -> &'static str
fn display_name(&self) -> &'static str
fn detect_paths(&self, home: &Path) -> Vec<PathBuf>
fn install(&self, home: &Path) -> Result<InstallOutcome, String>
fn hook_format(&self) -> Option<&dyn HookFormat>
Source§fn shell_tool_name(&self) -> &'static str
fn shell_tool_name(&self) -> &'static str
The harness’s SHELL tool — the only tool this hook should decide about. Droid’s is
Execute, Gemini’s run_shell_command; most are Bash. Defaults to Bash, the common
case.Auto Trait Implementations§
impl Freeze for ClaudeTarget
impl RefUnwindSafe for ClaudeTarget
impl Send for ClaudeTarget
impl Sync for ClaudeTarget
impl Unpin for ClaudeTarget
impl UnsafeUnpin for ClaudeTarget
impl UnwindSafe for ClaudeTarget
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