#[non_exhaustive]pub enum ProviderRetryEvent {
Scheduled(RetryProgress),
Stopped(ProviderFailure),
Succeeded {
route: ProviderRoute,
accounting: RetryAccounting,
},
}Expand description
Observational lifecycle; never a second model result or a tool-effects record.
Correlate through the enclosing ObservedEvent.session_id and current
AgentEvent::TurnStarted. Direct session consumers own that association.
Stable fatal event IDs belong to the host, not to this payload.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Scheduled(RetryProgress)
Stopped(ProviderFailure)
Emitted once on explicit failure/cancellation, including zero-send failures.
Succeeded
Clears retry activity without introducing another successful model result.
Trait Implementations§
Source§impl Clone for ProviderRetryEvent
impl Clone for ProviderRetryEvent
impl Copy for ProviderRetryEvent
Source§impl Debug for ProviderRetryEvent
impl Debug for ProviderRetryEvent
Source§impl<'de> Deserialize<'de> for ProviderRetryEvent
impl<'de> Deserialize<'de> for ProviderRetryEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderRetryEvent
Source§impl PartialEq for ProviderRetryEvent
impl PartialEq for ProviderRetryEvent
Source§impl Serialize for ProviderRetryEvent
impl Serialize for ProviderRetryEvent
impl StructuralPartialEq for ProviderRetryEvent
Auto Trait Implementations§
impl Freeze for ProviderRetryEvent
impl RefUnwindSafe for ProviderRetryEvent
impl Send for ProviderRetryEvent
impl Sync for ProviderRetryEvent
impl Unpin for ProviderRetryEvent
impl UnsafeUnpin for ProviderRetryEvent
impl UnwindSafe for ProviderRetryEvent
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