pub enum HookResult {
AlreadyInstalled,
Installed,
Skipped(String),
NotApplicable,
}Expand description
Result of hook verification/installation.
Variants§
AlreadyInstalled
Hook was already installed and configured correctly.
Installed
Hook was successfully installed during this call.
Skipped(String)
Hook installation was skipped (with reason).
NotApplicable
Agent/hook is not applicable (e.g., Claude Code not installed).
Trait Implementations§
Source§impl Clone for HookResult
impl Clone for HookResult
Source§impl Debug for HookResult
impl Debug for HookResult
Source§impl Display for HookResult
impl Display for HookResult
impl Eq for HookResult
Source§impl PartialEq for HookResult
impl PartialEq for HookResult
impl StructuralPartialEq for HookResult
Auto Trait Implementations§
impl Freeze for HookResult
impl RefUnwindSafe for HookResult
impl Send for HookResult
impl Sync for HookResult
impl Unpin for HookResult
impl UnsafeUnpin for HookResult
impl UnwindSafe for HookResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.