pub enum Tool {
Bash,
Grep,
Glob,
Read,
}Expand description
A harness tool the steering hook can gate (one PreToolUse matcher each).
Variants§
Bash
Shell commands (the default) — the full shell-idiom matcher.
Grep
The harness content search → ct search.
Glob
The harness file glob → ct search.
Read
The harness file read → ct view (images/PDF/notebooks pass through).
Implementations§
Trait Implementations§
impl Copy for Tool
impl Eq for Tool
impl StructuralPartialEq for Tool
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnsafeUnpin for Tool
impl UnwindSafe for Tool
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