pub enum TransactionRetryReason {
SnapshotChanged {
read_epoch: u64,
committed_epoch: u64,
},
Deadlock {
wait_cycle: Vec<u64>,
},
}Expand description
A condition that requires retrying the complete transaction with a fresh snapshot.
Variants§
Trait Implementations§
Source§impl Clone for TransactionRetryReason
impl Clone for TransactionRetryReason
Source§impl Debug for TransactionRetryReason
impl Debug for TransactionRetryReason
impl Eq for TransactionRetryReason
Source§impl PartialEq for TransactionRetryReason
impl PartialEq for TransactionRetryReason
impl StructuralPartialEq for TransactionRetryReason
Auto Trait Implementations§
impl Forget for TransactionRetryReason
impl Freeze for TransactionRetryReason
impl Move for TransactionRetryReason
impl RefUnwindSafe for TransactionRetryReason
impl Send for TransactionRetryReason
impl Sync for TransactionRetryReason
impl Unpin for TransactionRetryReason
impl UnsafeUnpin for TransactionRetryReason
impl UnwindSafe for TransactionRetryReason
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