pub struct ClaudeCodeAgent;Expand description
Claude Code (claude.ai/code).
Reads session_id from the hook event payload that Claude Code pipes to stdin.
Trait Implementations§
Source§impl Agent for ClaudeCodeAgent
impl Agent for ClaudeCodeAgent
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable, lowercase, hyphenated identifier (e.g.
"claude-code"). Used for the
--agent CLI flag and the agent field on persisted entries.Auto Trait Implementations§
impl Freeze for ClaudeCodeAgent
impl RefUnwindSafe for ClaudeCodeAgent
impl Send for ClaudeCodeAgent
impl Sync for ClaudeCodeAgent
impl Unpin for ClaudeCodeAgent
impl UnsafeUnpin for ClaudeCodeAgent
impl UnwindSafe for ClaudeCodeAgent
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