pub struct TransactionRetryError {
pub transaction_id: u64,
pub reason: TransactionRetryReason,
pub already_aborted: bool,
}Expand description
Preserves the original retry cause on subsequent calls to an aborted transaction.
Fields§
§transaction_id: u64§reason: TransactionRetryReason§already_aborted: boolThis call encountered a transaction that had already aborted.
Trait Implementations§
Source§impl Clone for TransactionRetryError
impl Clone for TransactionRetryError
Source§impl Debug for TransactionRetryError
impl Debug for TransactionRetryError
Source§impl Display for TransactionRetryError
impl Display for TransactionRetryError
impl Eq for TransactionRetryError
Source§impl Error for TransactionRetryError
impl Error for TransactionRetryError
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 PartialEq for TransactionRetryError
impl PartialEq for TransactionRetryError
impl StructuralPartialEq for TransactionRetryError
Auto Trait Implementations§
impl Forget for TransactionRetryError
impl Freeze for TransactionRetryError
impl Move for TransactionRetryError
impl RefUnwindSafe for TransactionRetryError
impl Send for TransactionRetryError
impl Sync for TransactionRetryError
impl Unpin for TransactionRetryError
impl UnsafeUnpin for TransactionRetryError
impl UnwindSafe for TransactionRetryError
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