pub enum TransactionModifier {
Deferred,
Immediate,
Exclusive,
Try,
Catch,
}Expand description
Modifier for the transaction in the BEGIN syntax
SQLite: https://sqlite.org/lang_transaction.html MS-SQL: https://learn.microsoft.com/en-us/sql/t-sql/language-elements/try-catch-transact-sql
Variants§
Deferred
DEFERRED transaction modifier.
Immediate
IMMEDIATE transaction modifier.
Exclusive
EXCLUSIVE transaction modifier.
Try
TRY block modifier (MS-SQL style TRY/CATCH).
Catch
CATCH block modifier (MS-SQL style TRY/CATCH).
Trait Implementations§
Source§impl Clone for TransactionModifier
impl Clone for TransactionModifier
Source§fn clone(&self) -> TransactionModifier
fn clone(&self) -> TransactionModifier
Returns a duplicate 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
Source§impl Debug for TransactionModifier
impl Debug for TransactionModifier
Source§impl<'de> Deserialize<'de> for TransactionModifier
impl<'de> Deserialize<'de> for TransactionModifier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TransactionModifier
impl Display for TransactionModifier
Source§impl Hash for TransactionModifier
impl Hash for TransactionModifier
Source§impl Ord for TransactionModifier
impl Ord for TransactionModifier
Source§fn cmp(&self, other: &TransactionModifier) -> Ordering
fn cmp(&self, other: &TransactionModifier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
where Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionModifier
impl PartialEq for TransactionModifier
Source§impl PartialOrd for TransactionModifier
impl PartialOrd for TransactionModifier
Source§fn partial_cmp(&self, other: &TransactionModifier) -> Option<Ordering>
fn partial_cmp(&self, other: &TransactionModifier) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
Tests less than or equal to (for self and other) and is used by the
<= operator. Read more
Source§impl Serialize for TransactionModifier
impl Serialize for TransactionModifier
Source§impl Visit for TransactionModifier
impl Visit for TransactionModifier
Source§impl VisitMut for TransactionModifier
impl VisitMut for TransactionModifier
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided VisitorMut. Read more
impl Copy for TransactionModifier
impl Eq for TransactionModifier
impl StructuralPartialEq for TransactionModifier
Auto Trait Implementations§
impl Freeze for TransactionModifier
impl RefUnwindSafe for TransactionModifier
impl Send for TransactionModifier
impl Sync for TransactionModifier
impl Unpin for TransactionModifier
impl UnwindSafe for TransactionModifier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
where 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,
where T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
where T: for<'de> Deserialize<'de>,