pub struct LlmStreamNext(/* private fields */);Expand description
Cloneable asynchronous LLM stream continuation.
Implementations§
Source§impl LlmStreamNext
impl LlmStreamNext
Sourcepub async fn call(&self, request: LlmRequest) -> Result<LlmJsonAsyncStream>
pub async fn call(&self, request: LlmRequest) -> Result<LlmJsonAsyncStream>
Opens an independent pull-based downstream stream.
Trait Implementations§
Source§impl Clone for LlmStreamNext
impl Clone for LlmStreamNext
Source§fn clone(&self) -> LlmStreamNext
fn clone(&self) -> LlmStreamNext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LlmStreamNext
impl RefUnwindSafe for LlmStreamNext
impl Send for LlmStreamNext
impl Sync for LlmStreamNext
impl Unpin for LlmStreamNext
impl UnsafeUnpin for LlmStreamNext
impl UnwindSafe for LlmStreamNext
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