pub enum RecoveryStreamEvent {
Progress {
identity: Identity,
progress: StreamProgress,
},
Metrics {
identity: Identity,
metrics: StreamMetrics,
},
Content(String),
Reasoning(String),
ToolFragment(Value),
Completed(Box<Recovered<LlmGatewayResponse>>),
Failed(RecoveryError),
}Expand description
Output and nonsemantic telemetry for one logical completion. Completed and Failed are terminal; progress never proves remote termination.
Variants§
Progress
Decoded provider frame metadata; does not count as delivered semantic output.
Metrics
Original provider-reported final metrics; absent when unsupported, never estimated. Final client timing is on the terminal report/error, preserving cancellation checkpoints.
Content(String)
Reasoning(String)
ToolFragment(Value)
Raw provider tool fragment, for explicit inspection only; never execute it.
Completed(Box<Recovered<LlmGatewayResponse>>)
Failed(RecoveryError)
Auto Trait Implementations§
impl !RefUnwindSafe for RecoveryStreamEvent
impl !UnwindSafe for RecoveryStreamEvent
impl Freeze for RecoveryStreamEvent
impl Send for RecoveryStreamEvent
impl Sync for RecoveryStreamEvent
impl Unpin for RecoveryStreamEvent
impl UnsafeUnpin for RecoveryStreamEvent
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