pub enum ProviderStreamEvent {
TextDelta(String),
ProviderToolStarted(ProviderToolTrace),
ProviderToolCompleted(ProviderToolTrace),
}Expand description
Incremental events emitted while a provider-native model request is running.
These events are provider-agnostic and intentionally lossy: they carry the information the worker needs to update live activity without baking a single vendor’s raw streaming schema into the turn loop.
Variants§
Trait Implementations§
Source§impl Clone for ProviderStreamEvent
impl Clone for ProviderStreamEvent
Source§fn clone(&self) -> ProviderStreamEvent
fn clone(&self) -> ProviderStreamEvent
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 ProviderStreamEvent
impl RefUnwindSafe for ProviderStreamEvent
impl Send for ProviderStreamEvent
impl Sync for ProviderStreamEvent
impl Unpin for ProviderStreamEvent
impl UnsafeUnpin for ProviderStreamEvent
impl UnwindSafe for ProviderStreamEvent
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