pub enum Matcher {
All,
Names(Vec<String>),
}Expand description
Per-tool matcher (12 §“tool events match tool name; regex when
non-alphanumeric” — hotl deliberately adopts only the exact-name half:
full regex is YAGNI for a personal harness). All fires for every tool
(the pre-matcher default); Names fires only for an exact (case-sensitive)
name match.
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for Matcher
Auto Trait Implementations§
impl Freeze for Matcher
impl RefUnwindSafe for Matcher
impl Send for Matcher
impl Sync for Matcher
impl Unpin for Matcher
impl UnsafeUnpin for Matcher
impl UnwindSafe for Matcher
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