pub struct ClaudeRunner { /* private fields */ }Expand description
Claude Code CLI Runner
Wraps claude --print --output-format stream-json execution.
Implementations§
Source§impl ClaudeRunner
impl ClaudeRunner
Sourcepub async fn run(&self, options: RunOptions) -> Result<RunResult, RunnerError>
pub async fn run(&self, options: RunOptions) -> Result<RunResult, RunnerError>
Execute Claude CLI
Sourcepub async fn is_running(&self) -> bool
pub async fn is_running(&self) -> bool
Check if a process is running
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ClaudeRunner
impl !UnwindSafe for ClaudeRunner
impl Freeze for ClaudeRunner
impl Send for ClaudeRunner
impl Sync for ClaudeRunner
impl Unpin for ClaudeRunner
impl UnsafeUnpin for ClaudeRunner
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