pub struct JsonStreaming;Implementations§
Source§impl JsonStreaming
impl JsonStreaming
Trait Implementations§
Source§impl ToolHandler for JsonStreaming
impl ToolHandler for JsonStreaming
fn get_tools<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Tool>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn call_tool<'life0, 'async_trait>(
&'life0 self,
tool_call: ToolCall,
) -> Pin<Box<dyn Future<Output = Result<ToolResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for JsonStreaming
impl RefUnwindSafe for JsonStreaming
impl Send for JsonStreaming
impl Sync for JsonStreaming
impl Unpin for JsonStreaming
impl UnwindSafe for JsonStreaming
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