pub enum ExecutionProgressError {
TooManyJournals,
DuplicateJournal(u64),
UnknownOperation(u64),
MissingJournal(u64),
AuthorityMismatch(u64),
PrematureAttempt {
operation_sequence: u64,
prerequisite: u64,
},
AccountingOverflow,
}Expand description
Typed original-plan journal admission, retained causality or accounting failure.
Variants§
TooManyJournals
The journal input exceeds the original bounded operation count.
DuplicateJournal(u64)
Multiple supplied journals claim the same original operation identity.
UnknownOperation(u64)
A supplied journal’s operation is absent from the original plan.
MissingJournal(u64)
Retained evidence for an original operation was not supplied.
AuthorityMismatch(u64)
Intent, context, target, request or original allowance differs from the plan.
PrematureAttempt
A reservation exists while a declared prerequisite lacks Applied evidence.
Fields
AccountingOverflow
Derived accounting could not be represented without overflow.
Trait Implementations§
Source§impl Debug for ExecutionProgressError
impl Debug for ExecutionProgressError
Source§impl Display for ExecutionProgressError
impl Display for ExecutionProgressError
impl Eq for ExecutionProgressError
Source§impl Error for ExecutionProgressError
impl Error for ExecutionProgressError
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()
Source§impl From<ExecutionProgressError> for ExecutionProgressPersistenceError
impl From<ExecutionProgressError> for ExecutionProgressPersistenceError
Source§fn from(source: ExecutionProgressError) -> Self
fn from(source: ExecutionProgressError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionProgressError> for ExecutionSettlementPolicyError
impl From<ExecutionProgressError> for ExecutionSettlementPolicyError
Source§fn from(source: ExecutionProgressError) -> Self
fn from(source: ExecutionProgressError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutionProgressError
impl PartialEq for ExecutionProgressError
impl StructuralPartialEq for ExecutionProgressError
Auto Trait Implementations§
impl Freeze for ExecutionProgressError
impl RefUnwindSafe for ExecutionProgressError
impl Send for ExecutionProgressError
impl Sync for ExecutionProgressError
impl Unpin for ExecutionProgressError
impl UnsafeUnpin for ExecutionProgressError
impl UnwindSafe for ExecutionProgressError
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