pub struct SdkClaudeCodeRunner;Trait Implementations§
Source§impl ClaudeCodeRunner for SdkClaudeCodeRunner
impl ClaudeCodeRunner for SdkClaudeCodeRunner
fn stream<'life0, 'async_trait>(
&'life0 self,
options: ClaudeAgentOptions,
content: UserMessageInput,
) -> Pin<Box<dyn Future<Output = Result<UnboundedReceiver<StreamEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn stream_with_cleanup<'life0, 'async_trait>(
&'life0 self,
options: ClaudeAgentOptions,
content: UserMessageInput,
) -> Pin<Box<dyn Future<Output = Result<ClaudeCodeStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stream_with_cleanup<'life0, 'async_trait>(
&'life0 self,
options: ClaudeAgentOptions,
content: UserMessageInput,
) -> Pin<Box<dyn Future<Output = Result<ClaudeCodeStream>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Starts the stream together with an optional provider-owned cleanup
acknowledgement. Test runners and SDK-independent implementations can
keep implementing
Self::stream; the default advertises no owned
subprocess cleanup.Source§impl Debug for SdkClaudeCodeRunner
impl Debug for SdkClaudeCodeRunner
Auto Trait Implementations§
impl Freeze for SdkClaudeCodeRunner
impl RefUnwindSafe for SdkClaudeCodeRunner
impl Send for SdkClaudeCodeRunner
impl Sync for SdkClaudeCodeRunner
impl Unpin for SdkClaudeCodeRunner
impl UnsafeUnpin for SdkClaudeCodeRunner
impl UnwindSafe for SdkClaudeCodeRunner
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more