pub enum HookEvent {
SessionStart,
SessionEnd,
PreTool,
PostTool,
UserPrompt,
PreCompact,
SubagentStart,
SubagentStop,
Custom(String),
}Expand description
Abstract hook events, mapped to vendor-specific names by backends.
Variants§
SessionStart
SessionEnd
PreTool
PostTool
UserPrompt
PreCompact
SubagentStart
SubagentStop
Custom(String)
Trait Implementations§
impl Eq for HookEvent
impl StructuralPartialEq for HookEvent
Auto Trait Implementations§
impl Freeze for HookEvent
impl RefUnwindSafe for HookEvent
impl Send for HookEvent
impl Sync for HookEvent
impl Unpin for HookEvent
impl UnsafeUnpin for HookEvent
impl UnwindSafe for HookEvent
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