pub enum TransactionCompletionAction {
Commit,
Rollback,
}Expand description
Represents an action that completes a transaction, by either committing it or rolling it back.
Variants§
Commit
Represents the action of committing a transaction.
Rollback
Represents the action of rolling back a transaction.
Trait Implementations§
Source§impl Clone for TransactionCompletionAction
impl Clone for TransactionCompletionAction
Source§fn clone(&self) -> TransactionCompletionAction
fn clone(&self) -> TransactionCompletionAction
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 moreSource§impl Debug for TransactionCompletionAction
impl Debug for TransactionCompletionAction
impl StructuralPartialEq for TransactionCompletionAction
Auto Trait Implementations§
impl Freeze for TransactionCompletionAction
impl RefUnwindSafe for TransactionCompletionAction
impl Send for TransactionCompletionAction
impl Sync for TransactionCompletionAction
impl Unpin for TransactionCompletionAction
impl UnwindSafe for TransactionCompletionAction
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