pub enum ExecutionSettlementPersistenceError {
DigestMismatch,
Plan(OperationPlanPersistenceError),
Authority(OperationPlanError),
Journal(AttemptJournalError),
Policy(ExecutionSettlementPolicyError),
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed immutable publication/replay failure, preserving all original journals and obligations.
Variants§
DigestMismatch
Expected original plan/checkpoint identity differs.
Plan(OperationPlanPersistenceError)
Original retained plan cannot be admitted.
Authority(OperationPlanError)
Original plan authority derivation failed.
Journal(AttemptJournalError)
An original journal is absent, unsafe, mismatched or held by another owner.
Policy(ExecutionSettlementPolicyError)
Complete original settlement evidence failed pure policy.
Lock(JournalLockError)
Publication/replay checkpoint lock failed.
Persistence(PersistenceError)
Bounded local IO or canonical encoding failed.
Trait Implementations§
Source§impl Error for ExecutionSettlementPersistenceError
impl Error for ExecutionSettlementPersistenceError
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 ExecutionSettlementPersistenceError
impl From<AttemptJournalError> for ExecutionSettlementPersistenceError
Source§fn from(source: AttemptJournalError) -> Self
fn from(source: AttemptJournalError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutionSettlementPolicyError> for ExecutionSettlementPersistenceError
impl From<ExecutionSettlementPolicyError> for ExecutionSettlementPersistenceError
Source§fn from(source: ExecutionSettlementPolicyError) -> Self
fn from(source: ExecutionSettlementPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for ExecutionSettlementPersistenceError
impl From<JournalLockError> for ExecutionSettlementPersistenceError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanError> for ExecutionSettlementPersistenceError
impl From<OperationPlanError> for ExecutionSettlementPersistenceError
Source§fn from(source: OperationPlanError) -> Self
fn from(source: OperationPlanError) -> Self
Converts to this type from the input type.
Source§impl From<OperationPlanPersistenceError> for ExecutionSettlementPersistenceError
impl From<OperationPlanPersistenceError> for ExecutionSettlementPersistenceError
Source§fn from(source: OperationPlanPersistenceError) -> Self
fn from(source: OperationPlanPersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for ExecutionSettlementPersistenceError
impl From<PersistenceError> for ExecutionSettlementPersistenceError
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 ExecutionSettlementPersistenceError
impl !UnwindSafe for ExecutionSettlementPersistenceError
impl Freeze for ExecutionSettlementPersistenceError
impl Send for ExecutionSettlementPersistenceError
impl Sync for ExecutionSettlementPersistenceError
impl Unpin for ExecutionSettlementPersistenceError
impl UnsafeUnpin for ExecutionSettlementPersistenceError
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