pub enum TransactionConclusion {
Commit,
Rollback,
}
Expand description
Indicates if a transaction was committed or aborted
Variants§
Trait Implementations§
source§impl Clone for TransactionConclusion
impl Clone for TransactionConclusion
source§fn clone(&self) -> TransactionConclusion
fn clone(&self) -> TransactionConclusion
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 TransactionConclusion
impl Debug for TransactionConclusion
source§impl Hash for TransactionConclusion
impl Hash for TransactionConclusion
source§impl PartialEq<TransactionConclusion> for TransactionConclusion
impl PartialEq<TransactionConclusion> for TransactionConclusion
source§fn eq(&self, other: &TransactionConclusion) -> bool
fn eq(&self, other: &TransactionConclusion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransactionConclusion
impl StructuralEq for TransactionConclusion
impl StructuralPartialEq for TransactionConclusion
Auto Trait Implementations§
impl RefUnwindSafe for TransactionConclusion
impl Send for TransactionConclusion
impl Sync for TransactionConclusion
impl Unpin for TransactionConclusion
impl UnwindSafe for TransactionConclusion
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.