pub enum RetrievalWindowApplyError {
Show 22 variants
EmptyCandidateSet,
EmptyCandidateId {
index: usize,
},
DuplicateCandidateId {
message_id: String,
},
MissingCandidateMessage {
message_id: String,
},
DuplicateSessionMessageId {
message_id: String,
},
CandidateOrderMismatch {
message_id: String,
},
InconsistentPlan {
field: &'static str,
},
PreExistingConversationSummary,
PartialApplication,
ActiveCandidateAlreadyCorrelated {
message_id: String,
},
SystemMessageCandidate {
message_id: String,
},
NeverCompressCandidate {
message_id: String,
},
IncompleteLogicalGroup,
UnsafeToolProtocol,
ProtectedSkillChain,
RecentUserTurnProtected,
StalePlan {
invariant: &'static str,
},
MixedArchiveEvents,
MissingOrDuplicateArchiveEvent {
event_id: String,
},
ArchiveEventKindConflict {
event_id: String,
},
ArchiveEventEvidenceMismatch {
event_id: String,
field: &'static str,
},
TokenAccountingOverflow,
}Expand description
Structured reason why a retrieval-window plan could not be committed.
Variants§
EmptyCandidateSet
EmptyCandidateId
DuplicateCandidateId
MissingCandidateMessage
DuplicateSessionMessageId
CandidateOrderMismatch
InconsistentPlan
PreExistingConversationSummary
PartialApplication
SystemMessageCandidate
NeverCompressCandidate
IncompleteLogicalGroup
UnsafeToolProtocol
ProtectedSkillChain
RecentUserTurnProtected
StalePlan
MixedArchiveEvents
MissingOrDuplicateArchiveEvent
ArchiveEventKindConflict
ArchiveEventEvidenceMismatch
TokenAccountingOverflow
Trait Implementations§
Source§impl Clone for RetrievalWindowApplyError
impl Clone for RetrievalWindowApplyError
Source§impl Debug for RetrievalWindowApplyError
impl Debug for RetrievalWindowApplyError
Source§impl Display for RetrievalWindowApplyError
impl Display for RetrievalWindowApplyError
impl Eq for RetrievalWindowApplyError
Source§impl Error for RetrievalWindowApplyError
impl Error for RetrievalWindowApplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for RetrievalWindowApplyError
Auto Trait Implementations§
impl Freeze for RetrievalWindowApplyError
impl RefUnwindSafe for RetrievalWindowApplyError
impl Send for RetrievalWindowApplyError
impl Sync for RetrievalWindowApplyError
impl Unpin for RetrievalWindowApplyError
impl UnsafeUnpin for RetrievalWindowApplyError
impl UnwindSafe for RetrievalWindowApplyError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.