#[non_exhaustive]pub enum CheckpointWriteError {
StateSchemaMismatch,
InitialHasParent,
SuccessorMissingParent,
ParentTenantMismatch,
ParentRunMismatch,
ReusedCheckpointId,
SuperstepOverflow,
NonContiguousSuperstep {
expected: Superstep,
actual: Superstep,
},
ParentGraphMismatch,
Integrity {
source: CheckpointIntegrityError,
},
IntentDigestMismatch,
}Expand description
Structurally invalid or corrupted checkpoint write intent.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StateSchemaMismatch
Checkpoint state named a schema other than the graph’s pinned schema.
InitialHasParent
Superstep zero unexpectedly named a predecessor.
SuccessorMissingParent
A positive superstep omitted its predecessor.
ParentTenantMismatch
The predecessor crossed a tenant boundary.
ParentRunMismatch
The predecessor named another run.
ReusedCheckpointId
The successor reused its predecessor’s immutable identity.
SuperstepOverflow
The predecessor had no representable successor.
NonContiguousSuperstep
The supplied position was not the predecessor’s exact successor.
ParentGraphMismatch
The graph definition differed from its predecessor.
Integrity
Integrity material could not be canonicalized.
Fields
§
source: CheckpointIntegrityErrorUnderlying integrity failure.
IntentDigestMismatch
The persisted intent checksum did not match caller-controlled fields.
Trait Implementations§
Source§impl Clone for CheckpointWriteError
impl Clone for CheckpointWriteError
Source§impl Debug for CheckpointWriteError
impl Debug for CheckpointWriteError
Source§impl Display for CheckpointWriteError
impl Display for CheckpointWriteError
impl Eq for CheckpointWriteError
Source§impl Error for CheckpointWriteError
impl Error for CheckpointWriteError
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()
Source§impl PartialEq for CheckpointWriteError
impl PartialEq for CheckpointWriteError
impl StructuralPartialEq for CheckpointWriteError
Auto Trait Implementations§
impl Forget for CheckpointWriteError
impl Freeze for CheckpointWriteError
impl Move for CheckpointWriteError
impl RefUnwindSafe for CheckpointWriteError
impl Send for CheckpointWriteError
impl Sync for CheckpointWriteError
impl Unpin for CheckpointWriteError
impl UnsafeUnpin for CheckpointWriteError
impl UnwindSafe for CheckpointWriteError
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