pub struct TxMode {
pub isolation_level: IsolationLevel,
pub rollback: bool,
}Expand description
Transaction mode settings
Fields§
§isolation_level: IsolationLevelIsolation level for the transaction
rollback: boolWhether to rollback the transaction
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxMode
impl RefUnwindSafe for TxMode
impl Send for TxMode
impl Sync for TxMode
impl Unpin for TxMode
impl UnsafeUnpin for TxMode
impl UnwindSafe for TxMode
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