Struct mysql_async::Conn [] [src]

pub struct Conn { /* fields omitted */ }

Mysql connection

Methods

impl Conn
[src]

Returns the ID generated by a query (usually INSERT) on a table with a column having the AUTO_INCREMENT attribute. Returns None if there was no previous query on the connection or if the query did not update an AUTO_INCREMENT value.

Returns the number of rows affected by the last INSERT, UPDATE, REPLACE or DELETE query.

Returns future that resolves to a Conn with COM_RESET_CONNECTION executed on it.

Trait Implementations

impl Drop for Conn
[src]

A method called when the value goes out of scope. Read more

impl Debug for Conn
[src]

Formats the value using the given formatter.

impl Queryable for Conn
[src]

Returns future that resolves to Conn if COM_PING executed successfully.

Returns future that disconnects this connection from a server.

Returns future that performs query.

Returns future that resolves to a first row of result of a query execution (if any). Read more

Returns future that performs query. Result will be dropped.

Returns future that prepares statement.

Returns future that prepares and executes statement in one pass.

Returns future that resolves to a first row of result of a statement execution (if any). Read more

Returns future that prepares and executes statement. Result will be dropped.

Returns future that prepares statement and performs batch execution. Results will be dropped. Read more

Returns future that starts transaction.