pub enum ContinuationPreparationError {
IdentityMismatch(String),
SourceNotWaiting(String),
MissingCheckpoint(String),
NoPendingHitl(String),
DuplicateDecision {
kind: &'static str,
id: String,
},
MissingDecision {
kind: &'static str,
id: String,
},
UnknownDecision {
kind: &'static str,
id: String,
},
MismatchedDecisionIdentity {
kind: &'static str,
id: String,
actual: String,
expected: String,
},
MismatchedDecisionEvidence {
kind: &'static str,
id: String,
field: &'static str,
},
InconsistentApproval(String),
}Expand description
Stable continuation preparation failures shared by CLI, RPC, and future hosts.
Variants§
IdentityMismatch(String)
Snapshot session and run ownership disagree.
SourceNotWaiting(String)
Waiting preparation was requested for another source status.
MissingCheckpoint(String)
A waiting source has no resumable checkpoint.
NoPendingHitl(String)
The checkpoint has no pending HITL work.
DuplicateDecision
Durable decision evidence contains duplicate identities.
Fields
MissingDecision
One pending item has no terminal durable decision.
Fields
UnknownDecision
Durable evidence references an item that is not pending in the checkpoint.
Fields
MismatchedDecisionIdentity
Durable evidence uses the expected durable id but references another tool call.
Fields
MismatchedDecisionEvidence
Durable decision evidence does not match the pending checkpoint evidence.
Fields
InconsistentApproval(String)
A durable approval status and decision record disagree.
Trait Implementations§
Source§impl Clone for ContinuationPreparationError
impl Clone for ContinuationPreparationError
Source§fn clone(&self) -> ContinuationPreparationError
fn clone(&self) -> ContinuationPreparationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContinuationPreparationError
impl Debug for ContinuationPreparationError
impl Eq for ContinuationPreparationError
Source§impl Error for ContinuationPreparationError
impl Error for ContinuationPreparationError
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 ContinuationPreparationError
Auto Trait Implementations§
impl Freeze for ContinuationPreparationError
impl RefUnwindSafe for ContinuationPreparationError
impl Send for ContinuationPreparationError
impl Sync for ContinuationPreparationError
impl Unpin for ContinuationPreparationError
impl UnsafeUnpin for ContinuationPreparationError
impl UnwindSafe for ContinuationPreparationError
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