Module mysql_async::futures [] [src]

Futures used in this crate

Structs

Batch

Future that performs batch execution of a statement and resolves to Stmt.

BatchExec

Future that prepares statement, performs batch execution and resolves to Conn.

Collect

Future that collects result of a query or statement execution.

CollectAll

Future that collects all result sets of all results of this query or statement execution.

Commit

Future that commits transaction and resolves to Conn.

DisconnectPool

Future that disconnects this pool from server and resolves to ().

DropResult

Future that drops result and resolves to wrapped Conn or Stmt.

Execute

Future that executes statement and resolves to BinQueryResult.

First

Future that returns first row of query result.

FirstExec

This future will execute statement, get first row of result and resolve to Option<R>.

ForEach

Future that calls F: FnMut(Row) on each Row of a QueryResult.

GetConn

This future will take connection from a pool and resolve to Conn.

Map

Future that calls F: FnMut(Row) -> U on each Row of a QueryResult.

NewConn

Future that resolves to a Conn.

Ping

Future that resolves to Conn if MySql's COM_PING was executed successfully.

PooledStartTransaction

This future will resolve to Transaction

PrepExec

This future will prepare statement, execute it and resolve to BinQueryResult.

Prepare

Future that resolves to prepared Stmt.

Query

Future that resolves to result of a query execution.

Reduce

Future that calls F: FnMut(A, Row) -> A on each Row of a QueryResult.

Reset

Future that resolves to a Conn with MySql's COM_RESET_CONNECTION executed on it.

Rollback

Future that rolls back transaction and resolves to Conn.

StartTransaction

Future that starts transaction and resolves to Transaction.

StmtFirst

This future will execute statement, take first row of result and resolve to Option<R>.

Type Definitions

Disconnect

Future that disconnects Conn from server and resolves to ().

DropExec

Future that executes statement, drops result and resolves to Conn.

DropQuery

Future that executes query, drops result and resolves to Conn.

TransBatchExec

Future that prepares and executes statement and resolves to Transaction.

TransDropExec

Future that prepares and executes statement and resolves to Transaction.

TransDropQuery

Future that executes query and resolves to Transaction.

TransFirst

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

TransFirstExec

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

TransPrepExec

Future that prepares and executes statement and resolves to TransBinQueryResult.

TransQuery

Future that prepares and executes query and resolves to TransTextQueryResult.