pub enum TransactionMode {
Deferrable(Deferrable),
NotDeferrable(NotDeferrable),
ReadCommitted(ReadCommitted),
ReadOnly(ReadOnly),
ReadUncommitted(ReadUncommitted),
ReadWrite(ReadWrite),
RepeatableRead(RepeatableRead),
Serializable(Serializable),
}
Variants§
Deferrable(Deferrable)
NotDeferrable(NotDeferrable)
ReadCommitted(ReadCommitted)
ReadOnly(ReadOnly)
ReadUncommitted(ReadUncommitted)
ReadWrite(ReadWrite)
RepeatableRead(RepeatableRead)
Serializable(Serializable)
Trait Implementations§
Source§impl AstNode for TransactionMode
impl AstNode for TransactionMode
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for TransactionMode
impl Clone for TransactionMode
Source§fn clone(&self) -> TransactionMode
fn clone(&self) -> TransactionMode
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 moreSource§impl Debug for TransactionMode
impl Debug for TransactionMode
Source§impl From<Deferrable> for TransactionMode
impl From<Deferrable> for TransactionMode
Source§fn from(node: Deferrable) -> TransactionMode
fn from(node: Deferrable) -> TransactionMode
Converts to this type from the input type.
Source§impl From<NotDeferrable> for TransactionMode
impl From<NotDeferrable> for TransactionMode
Source§fn from(node: NotDeferrable) -> TransactionMode
fn from(node: NotDeferrable) -> TransactionMode
Converts to this type from the input type.
Source§impl From<ReadCommitted> for TransactionMode
impl From<ReadCommitted> for TransactionMode
Source§fn from(node: ReadCommitted) -> TransactionMode
fn from(node: ReadCommitted) -> TransactionMode
Converts to this type from the input type.
Source§impl From<ReadOnly> for TransactionMode
impl From<ReadOnly> for TransactionMode
Source§fn from(node: ReadOnly) -> TransactionMode
fn from(node: ReadOnly) -> TransactionMode
Converts to this type from the input type.
Source§impl From<ReadUncommitted> for TransactionMode
impl From<ReadUncommitted> for TransactionMode
Source§fn from(node: ReadUncommitted) -> TransactionMode
fn from(node: ReadUncommitted) -> TransactionMode
Converts to this type from the input type.
Source§impl From<ReadWrite> for TransactionMode
impl From<ReadWrite> for TransactionMode
Source§fn from(node: ReadWrite) -> TransactionMode
fn from(node: ReadWrite) -> TransactionMode
Converts to this type from the input type.
Source§impl From<RepeatableRead> for TransactionMode
impl From<RepeatableRead> for TransactionMode
Source§fn from(node: RepeatableRead) -> TransactionMode
fn from(node: RepeatableRead) -> TransactionMode
Converts to this type from the input type.
Source§impl From<Serializable> for TransactionMode
impl From<Serializable> for TransactionMode
Source§fn from(node: Serializable) -> TransactionMode
fn from(node: Serializable) -> TransactionMode
Converts to this type from the input type.
Source§impl Hash for TransactionMode
impl Hash for TransactionMode
Source§impl PartialEq for TransactionMode
impl PartialEq for TransactionMode
impl Eq for TransactionMode
impl StructuralPartialEq for TransactionMode
Auto Trait Implementations§
impl Freeze for TransactionMode
impl !RefUnwindSafe for TransactionMode
impl !Send for TransactionMode
impl !Sync for TransactionMode
impl Unpin for TransactionMode
impl !UnwindSafe for TransactionMode
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