pub enum TransactionSupport {
None,
Flat,
Savepoints,
}Expand description
Transaction support level.
Variants§
None
No multi-statement transactions.
Flat
Transactions without nested savepoints.
Savepoints
Transactions with savepoints (nested transactions).
Trait Implementations§
Source§impl Clone for TransactionSupport
impl Clone for TransactionSupport
Source§fn clone(&self) -> TransactionSupport
fn clone(&self) -> TransactionSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionSupport
Source§impl Debug for TransactionSupport
impl Debug for TransactionSupport
impl Eq for TransactionSupport
Source§impl Ord for TransactionSupport
impl Ord for TransactionSupport
Source§fn cmp(&self, other: &TransactionSupport) -> Ordering
fn cmp(&self, other: &TransactionSupport) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionSupport
impl PartialEq for TransactionSupport
Source§impl PartialOrd for TransactionSupport
impl PartialOrd for TransactionSupport
impl StructuralPartialEq for TransactionSupport
Auto Trait Implementations§
impl Freeze for TransactionSupport
impl RefUnwindSafe for TransactionSupport
impl Send for TransactionSupport
impl Sync for TransactionSupport
impl Unpin for TransactionSupport
impl UnsafeUnpin for TransactionSupport
impl UnwindSafe for TransactionSupport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.