pub enum IcSnapshotDataUploadExecutionError<E: Error + 'static> {
AlreadyAttempted,
Planning(SnapshotDataPlanningError),
Stage(ExecutionWorkflowPersistenceError),
Progress(ExecutionProgressPersistenceError),
Source(IcSnapshotUploadArtifactError),
Upload(IcSnapshotUploadExecutionError<E>),
AfterReply {
operation_sequence: u64,
source: IcSnapshotDataUploadReplyError<E>,
acknowledgement: Box<IcMutationAcknowledgement>,
},
}Expand description
Data-stage failure preserves source, original spending and returned acknowledgement bytes.
Variants§
AlreadyAttempted
Fresh-only entrypoint rejects any original consumed mutation or observation.
Planning(SnapshotDataPlanningError)
Existing exact original data-plan/binding admission.
Stage(ExecutionWorkflowPersistenceError)
Existing retained workflow/stage/ancestor admission.
Progress(ExecutionProgressPersistenceError)
Complete original progress admission.
Source(IcSnapshotUploadArtifactError)
Fresh exact source preparation failed before the selected operation reserves.
Upload(IcSnapshotUploadExecutionError<E>)
One exact original upload failed; its owner retains bounded returned evidence.
AfterReply
Receipt settlement failed after a bounded returned acknowledgement.
Fields
source: IcSnapshotDataUploadReplyError<E>Original qualification or persistence rejection.
acknowledgement: Box<IcMutationAcknowledgement>Exact bounded reply, without an inferred outcome.
Implementations§
Source§impl<E: Error + 'static> IcSnapshotDataUploadExecutionError<E>
impl<E: Error + 'static> IcSnapshotDataUploadExecutionError<E>
Sourcepub fn acknowledgement(&self) -> Option<&IcMutationAcknowledgement>
pub fn acknowledgement(&self) -> Option<&IcMutationAcknowledgement>
Borrow the bounded returned evidence carried by this error, including nested failures. Absence describes retained evidence only and grants no dispatch or retry authority.
Trait Implementations§
Source§impl<E: Error + 'static> Display for IcSnapshotDataUploadExecutionError<E>
impl<E: Error + 'static> Display for IcSnapshotDataUploadExecutionError<E>
Source§impl<E: Error + 'static> Error for IcSnapshotDataUploadExecutionError<E>where
IcSnapshotUploadExecutionError<E>: Error,
IcSnapshotDataUploadReplyError<E>: Error + 'static,
Self: Debug + Display,
impl<E: Error + 'static> Error for IcSnapshotDataUploadExecutionError<E>where
IcSnapshotUploadExecutionError<E>: Error,
IcSnapshotDataUploadReplyError<E>: Error + 'static,
Self: Debug + Display,
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()