pub enum AssistedApprovalJudgeFailureReason {
Timeout,
Abort,
EmptyResponse,
ModelError,
ParseError,
Unknown,
}Expand description
Why the assisted-approval judge produced no usable recommendation. Present only alongside an error recommendation, where the human-readable reason is a fixed string and therefore cannot distinguish these cases. Intended to make a judge failure reportable by a consumer that has no access to the host’s logs.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Timeout
The judge model call exceeded its deadline.
Abort
The judge model call was cancelled before it returned.
EmptyResponse
The judge model call completed but returned no content.
ModelError
The judge model call failed (for example a transport, authentication, or rate-limit error).
ParseError
The judge model replied, but the reply carried no ALLOW/DENY verdict.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AssistedApprovalJudgeFailureReason
impl Clone for AssistedApprovalJudgeFailureReason
Source§fn clone(&self) -> AssistedApprovalJudgeFailureReason
fn clone(&self) -> AssistedApprovalJudgeFailureReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for AssistedApprovalJudgeFailureReason
impl Default for AssistedApprovalJudgeFailureReason
Source§fn default() -> AssistedApprovalJudgeFailureReason
fn default() -> AssistedApprovalJudgeFailureReason
Source§impl<'de> Deserialize<'de> for AssistedApprovalJudgeFailureReason
impl<'de> Deserialize<'de> for AssistedApprovalJudgeFailureReason
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>,
impl Eq for AssistedApprovalJudgeFailureReason
impl StructuralPartialEq for AssistedApprovalJudgeFailureReason
Auto Trait Implementations§
impl Freeze for AssistedApprovalJudgeFailureReason
impl RefUnwindSafe for AssistedApprovalJudgeFailureReason
impl Send for AssistedApprovalJudgeFailureReason
impl Sync for AssistedApprovalJudgeFailureReason
impl Unpin for AssistedApprovalJudgeFailureReason
impl UnsafeUnpin for AssistedApprovalJudgeFailureReason
impl UnwindSafe for AssistedApprovalJudgeFailureReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.