pub struct TracingAuditHook;Expand description
Converts Post*ToolUse events into structured tracing records.
Intended to be attached to [[hooks.post_tool_use]] /
[[hooks.post_tool_use_failure]] for an audit trail; attaching it to other events
will cause StepHandler::handle_step to simply Pass through.
Trait Implementations§
Source§impl StepHandler for TracingAuditHook
impl StepHandler for TracingAuditHook
Auto Trait Implementations§
impl Freeze for TracingAuditHook
impl RefUnwindSafe for TracingAuditHook
impl Send for TracingAuditHook
impl Sync for TracingAuditHook
impl Unpin for TracingAuditHook
impl UnsafeUnpin for TracingAuditHook
impl UnwindSafe for TracingAuditHook
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