Struct mysql_async::Transaction [] [src]

pub struct Transaction { /* fields omitted */ }

Wrapper for in-transaction connection.

Methods

impl Transaction
[src]

Returns future that commits transaction and resolves to Conn.

Returns future that rolls back transaction and resolves to Conn.

Returns future that executes query and resolves to TransTextQueryResult.

Returns future that executes query and resolves to (Option<R>, Transaction).

Where Option<R> is the first row of a query execution result (if any).

Returns future that prepares and executes statement and resolves to TransBinQueryResult.

Returns future that prepares and executes statement and resolves to (Option<R>, Transaction).

Where Option<R> is the first row of a statement execution result (if any).

Returns future that prepares and executes statement and resolves to Transaction.

All results will be dropped.