pub enum AttemptJournalError {
AuthorityMismatch,
IndeterminateWrite,
Record(AttemptJournalRecordError),
Lock(JournalLockError),
Persistence(PersistenceError),
}Expand description
Typed exact admission, local accounting or durable publication failure.
Variants§
AuthorityMismatch
Retained identity or original ceilings differ from current exact selection.
IndeterminateWrite
A write may have completed; drop and reopen exact retained evidence.
Record(AttemptJournalRecordError)
Model identity, chronology or allowance admission failed.
Lock(JournalLockError)
Journal/layout exclusion failed.
Persistence(PersistenceError)
Bounded durable record access failed.
Trait Implementations§
Source§impl Debug for AttemptJournalError
impl Debug for AttemptJournalError
Source§impl Display for AttemptJournalError
impl Display for AttemptJournalError
Source§impl Error for AttemptJournalError
impl Error for AttemptJournalError
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<AttemptJournalRecordError> for AttemptJournalError
impl From<AttemptJournalRecordError> for AttemptJournalError
Source§fn from(source: AttemptJournalRecordError) -> Self
fn from(source: AttemptJournalRecordError) -> Self
Converts to this type from the input type.
Source§impl From<JournalLockError> for AttemptJournalError
impl From<JournalLockError> for AttemptJournalError
Source§fn from(source: JournalLockError) -> Self
fn from(source: JournalLockError) -> Self
Converts to this type from the input type.
Source§impl From<PersistenceError> for AttemptJournalError
impl From<PersistenceError> for AttemptJournalError
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 AttemptJournalError
impl !UnwindSafe for AttemptJournalError
impl Freeze for AttemptJournalError
impl Send for AttemptJournalError
impl Sync for AttemptJournalError
impl Unpin for AttemptJournalError
impl UnsafeUnpin for AttemptJournalError
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