pub struct TransactionCompletionError {
pub outcome: TransactionOutcome,
pub publication: Option<CommitErrorOutcome>,
pub source: StorageBackendError,
}Expand description
Completion evidence takes precedence over a later checkpoint, cancellation or cleanup error. Keep any physical receipt alongside the logical identity for existing receipt consumers.
Fields§
§outcome: TransactionOutcome§publication: Option<CommitErrorOutcome>§source: StorageBackendErrorTrait Implementations§
Source§impl Debug for TransactionCompletionError
impl Debug for TransactionCompletionError
Source§impl Display for TransactionCompletionError
impl Display for TransactionCompletionError
Source§impl Error for TransactionCompletionError
impl Error for TransactionCompletionError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TransactionCompletionError
impl !UnwindSafe for TransactionCompletionError
impl Freeze for TransactionCompletionError
impl Send for TransactionCompletionError
impl Sync for TransactionCompletionError
impl Unpin for TransactionCompletionError
impl UnsafeUnpin for TransactionCompletionError
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