pub enum CheckpointValidationError {
WorkItemCountMismatch {
expected: usize,
actual: usize,
},
OrphanedAgentAssignment {
agent_id: String,
},
IntegrityHashMismatch {
expected: String,
actual: String,
},
InvalidPhaseState {
phase: PhaseType,
reason: String,
},
MissingRequiredField {
field: String,
},
InconsistentTimestamps {
field: String,
issue: String,
},
DuplicateWorkItemId {
id: String,
},
WorkItemInMultipleStates {
item_id: String,
},
}Expand description
Checkpoint validation errors
Variants§
WorkItemCountMismatch
OrphanedAgentAssignment
IntegrityHashMismatch
InvalidPhaseState
MissingRequiredField
InconsistentTimestamps
DuplicateWorkItemId
WorkItemInMultipleStates
Trait Implementations§
Source§impl Clone for CheckpointValidationError
impl Clone for CheckpointValidationError
Source§fn clone(&self) -> CheckpointValidationError
fn clone(&self) -> CheckpointValidationError
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 CheckpointValidationError
impl Debug for CheckpointValidationError
Source§impl Display for CheckpointValidationError
impl Display for CheckpointValidationError
Source§impl Error for CheckpointValidationError
impl Error for CheckpointValidationError
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()
Auto Trait Implementations§
impl Freeze for CheckpointValidationError
impl RefUnwindSafe for CheckpointValidationError
impl Send for CheckpointValidationError
impl Sync for CheckpointValidationError
impl Unpin for CheckpointValidationError
impl UnsafeUnpin for CheckpointValidationError
impl UnwindSafe for CheckpointValidationError
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more