pub enum ExecutionStagePreparationError {
Stage(ExecutionWorkflowPersistenceError),
Authority(OperationPlanError),
Journal(AttemptJournalError),
}Expand description
Failed create-only preparation; retained records never grant repair or extra spending.
Variants§
Stage(ExecutionWorkflowPersistenceError)
Original stage records, predecessor settlement or layout were rejected.
Authority(OperationPlanError)
Complete original child authority derivation failed before allocation.
Journal(AttemptJournalError)
Existing attempt-journal locking or durable create-only publication failed.
Trait Implementations§
Source§impl Error for ExecutionStagePreparationError
impl Error for ExecutionStagePreparationError
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<AttemptJournalError> for ExecutionStagePreparationError
impl From<AttemptJournalError> for ExecutionStagePreparationError
Source§fn from(source: AttemptJournalError) -> Self
fn from(source: AttemptJournalError) -> 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<OperationPlanError> for ExecutionStagePreparationError
impl From<OperationPlanError> for ExecutionStagePreparationError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutionStagePreparationError
impl !UnwindSafe for ExecutionStagePreparationError
impl Freeze for ExecutionStagePreparationError
impl Send for ExecutionStagePreparationError
impl Sync for ExecutionStagePreparationError
impl Unpin for ExecutionStagePreparationError
impl UnsafeUnpin for ExecutionStagePreparationError
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