pub struct TurnIssue {
pub kind: String,
pub code: Option<String>,
pub terminal_reason: Option<LlmTerminalReason>,
pub message: String,
pub raw: Option<String>,
pub retryable: Option<bool>,
pub provider_failure_kind: Option<ProviderFailureKind>,
}Expand description
Structured issue surfaced during turn execution.
Fields§
§kind: String§code: Option<String>§terminal_reason: Option<LlmTerminalReason>§message: String§raw: Option<String>§retryable: Option<bool>Whether the failing operation is safe to retry, when the source
carried a typed signal (provider transports classify retryability;
terminal LLM responses are deterministic and report Some(false)).
None means the source did not know.
provider_failure_kind: Option<ProviderFailureKind>Typed provider-failure classification, present only when the issue came from a classified LLM provider/transport failure.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TurnIssue
impl<'de> Deserialize<'de> for TurnIssue
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
Auto Trait Implementations§
impl Freeze for TurnIssue
impl RefUnwindSafe for TurnIssue
impl Send for TurnIssue
impl Sync for TurnIssue
impl Unpin for TurnIssue
impl UnsafeUnpin for TurnIssue
impl UnwindSafe for TurnIssue
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