Enum yottadb::TransactionStatus
source · pub enum TransactionStatus {
Ok,
Restart,
Rollback,
}
Expand description
The status returned from a callback passed to Context::tp
Variants§
Ok
Complete the transaction and commit all changes
Restart
Undo changes specified in locals_to_reset
, then restart the transaction
Rollback
Abort the transaction and undo all changes
Trait Implementations§
source§impl Clone for TransactionStatus
impl Clone for TransactionStatus
source§fn clone(&self) -> TransactionStatus
fn clone(&self) -> TransactionStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more