pub enum LLMStreamEvent {
Token {
delta: String,
},
Reasoning {
delta: String,
},
Completed {
response: LLMResponse,
},
}
Variants§
Trait Implementations§
Source§impl Clone for LLMStreamEvent
impl Clone for LLMStreamEvent
Source§fn clone(&self) -> LLMStreamEvent
fn clone(&self) -> LLMStreamEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 LLMStreamEvent
impl RefUnwindSafe for LLMStreamEvent
impl Send for LLMStreamEvent
impl Sync for LLMStreamEvent
impl Unpin for LLMStreamEvent
impl UnwindSafe for LLMStreamEvent
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