pub enum ExecutionWorkflowPersistenceError {
DigestMismatch,
UnsafeStage,
Model(ExecutionWorkflowError),
Plan(OperationPlanPersistenceError),
Settlement(ExecutionSettlementPersistenceError),
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed immutable workflow/stage admission failure; no recovery evidence is removed.
Variants§
DigestMismatch
Workflow/stage identity differs from the retained expected digest.
UnsafeStage
A derived stage directory is a symlink or another unsafe entry.
Model(ExecutionWorkflowError)
Original model allocation or learned binding was rejected.
Plan(OperationPlanPersistenceError)
Existing immutable operation-plan admission failed.
Settlement(ExecutionSettlementPersistenceError)
Existing complete chronological Applied settlement admission failed.
Lock(JournalLockError)
Cooperating layout or journal exclusion failed.
Persistence(PersistenceError)
Existing bounded JSON/durable filesystem owner failed.
Trait Implementations§
Source§impl Error for ExecutionWorkflowPersistenceError
impl Error for ExecutionWorkflowPersistenceError
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 From<ExecutionSettlementPersistenceError> for ExecutionWorkflowPersistenceError
impl From<ExecutionSettlementPersistenceError> for ExecutionWorkflowPersistenceError
Source§fn from(source: ExecutionSettlementPersistenceError) -> Self
fn from(source: ExecutionSettlementPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionWorkflowError> for ExecutionWorkflowPersistenceError
impl From<ExecutionWorkflowError> for ExecutionWorkflowPersistenceError
Source§fn from(source: ExecutionWorkflowError) -> Self
fn from(source: ExecutionWorkflowError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionWorkflowPersistenceError> for ExecutionStageCheckpointError
impl From<ExecutionWorkflowPersistenceError> for ExecutionStageCheckpointError
Source§fn from(source: ExecutionWorkflowPersistenceError) -> Self
fn from(source: ExecutionWorkflowPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionWorkflowPersistenceError> for ExecutionStagePreparationError
impl From<ExecutionWorkflowPersistenceError> for ExecutionStagePreparationError
Source§fn from(source: ExecutionWorkflowPersistenceError) -> Self
fn from(source: ExecutionWorkflowPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionWorkflowPersistenceError> for ExecutionStageResumeError
impl From<ExecutionWorkflowPersistenceError> for ExecutionStageResumeError
Source§fn from(source: ExecutionWorkflowPersistenceError) -> Self
fn from(source: ExecutionWorkflowPersistenceError) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<ExecutionWorkflowPersistenceError> for IcSnapshotCaptureExecutionError<E>
impl<E: Error + 'static> From<ExecutionWorkflowPersistenceError> for IcSnapshotCaptureExecutionError<E>
Source§fn from(source: ExecutionWorkflowPersistenceError) -> Self
fn from(source: ExecutionWorkflowPersistenceError) -> Self
Converts to this type from the input type.
Source§impl<E: Error + 'static> From<ExecutionWorkflowPersistenceError> for IcSnapshotTransferReadExecutionError<E>
impl<E: Error + 'static> From<ExecutionWorkflowPersistenceError> for IcSnapshotTransferReadExecutionError<E>
Source§fn from(source: ExecutionWorkflowPersistenceError) -> Self
fn from(source: ExecutionWorkflowPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for ExecutionWorkflowPersistenceError
impl From<JournalLockError> for ExecutionWorkflowPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanPersistenceError> for ExecutionWorkflowPersistenceError
impl From<OperationPlanPersistenceError> for ExecutionWorkflowPersistenceError
Source§fn from(source: OperationPlanPersistenceError) -> Self
fn from(source: OperationPlanPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for ExecutionWorkflowPersistenceError
impl From<PersistenceError> for ExecutionWorkflowPersistenceError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionWorkflowPersistenceError
impl !UnwindSafe for ExecutionWorkflowPersistenceError
impl Freeze for ExecutionWorkflowPersistenceError
impl Send for ExecutionWorkflowPersistenceError
impl Sync for ExecutionWorkflowPersistenceError
impl Unpin for ExecutionWorkflowPersistenceError
impl UnsafeUnpin for ExecutionWorkflowPersistenceError
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