pub enum ExecutionStatus<T, E> {
Success(T),
Abort(E),
SkipRest(T),
Retry(Version),
}
Expand description
The execution result of a transaction
Variants§
Success(T)
Transaction was executed successfully.
Abort(E)
Transaction hit a none recoverable error during execution, halt the execution and propagate the error back to the caller.
SkipRest(T)
Transaction was executed successfully, but will skip the execution of the trailing transactions in the list
Retry(Version)
Transaction has an unexpected read dependency that is blocked by Version
transaction.
Put the transaction back to the scheduler.