pub struct PresentationHook { /* private fields */ }Expand description
Hook that queues tool events for later presentation
Events are queued rather than printed immediately, allowing the caller to control when output appears (e.g., not during permission prompts).
Implementations§
Trait Implementations§
Source§impl AgentHook for PresentationHook
impl AgentHook for PresentationHook
Source§fn on_event(&self, event: &AgentEvent)
fn on_event(&self, event: &AgentEvent)
Called when an event occurs
Auto Trait Implementations§
impl Freeze for PresentationHook
impl RefUnwindSafe for PresentationHook
impl Send for PresentationHook
impl Sync for PresentationHook
impl Unpin for PresentationHook
impl UnwindSafe for PresentationHook
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