pub struct ExaTransactionManager;Expand description
Implementor of TransactionManager.
Trait Implementations§
Source§impl Clone for ExaTransactionManager
impl Clone for ExaTransactionManager
Source§fn clone(&self) -> ExaTransactionManager
fn clone(&self) -> ExaTransactionManager
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 ExaTransactionManager
impl Debug for ExaTransactionManager
Source§impl TransactionManager for ExaTransactionManager
impl TransactionManager for ExaTransactionManager
type Database = Exasol
Source§async fn begin(conn: &mut ExaConnection, _: Option<SqlStr>) -> Result<(), Error>
async fn begin(conn: &mut ExaConnection, _: Option<SqlStr>) -> Result<(), Error>
Begin a new transaction or establish a savepoint within the active transaction. Read more
Source§async fn commit(conn: &mut ExaConnection) -> Result<(), Error>
async fn commit(conn: &mut ExaConnection) -> Result<(), Error>
Commit the active transaction or release the most recent savepoint.
Source§async fn rollback(conn: &mut ExaConnection) -> Result<(), Error>
async fn rollback(conn: &mut ExaConnection) -> Result<(), Error>
Abort the active transaction or restore from the most recent savepoint.
Source§fn start_rollback(conn: &mut ExaConnection)
fn start_rollback(conn: &mut ExaConnection)
Starts to abort the active transaction or restore from the most recent snapshot.
Source§fn get_transaction_depth(conn: &ExaConnection) -> usize
fn get_transaction_depth(conn: &ExaConnection) -> usize
Returns the current transaction depth. Read more
impl Copy for ExaTransactionManager
Auto Trait Implementations§
impl Freeze for ExaTransactionManager
impl RefUnwindSafe for ExaTransactionManager
impl Send for ExaTransactionManager
impl Sync for ExaTransactionManager
impl Unpin for ExaTransactionManager
impl UnwindSafe for ExaTransactionManager
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more