pub enum TransactionScope {
Session,
Global,
}Expand description
Scope for SET TRANSACTION.
Variants§
Session
PG: SET SESSION CHARACTERISTICS AS TRANSACTION … MySQL: SET SESSION TRANSACTION …
Global
MySQL: SET GLOBAL TRANSACTION …
Trait Implementations§
Source§impl Clone for TransactionScope
impl Clone for TransactionScope
Source§fn clone(&self) -> TransactionScope
fn clone(&self) -> TransactionScope
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 TransactionScope
impl Debug for TransactionScope
Source§impl PartialEq for TransactionScope
impl PartialEq for TransactionScope
impl Copy for TransactionScope
impl Eq for TransactionScope
impl StructuralPartialEq for TransactionScope
Auto Trait Implementations§
impl Freeze for TransactionScope
impl RefUnwindSafe for TransactionScope
impl Send for TransactionScope
impl Sync for TransactionScope
impl Unpin for TransactionScope
impl UnsafeUnpin for TransactionScope
impl UnwindSafe for TransactionScope
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