pub struct Conn { /* fields omitted */ }
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 Conn
.
Returns future that resolves to Conn
.
Returns future that resolves to a Conn
with COM_RESET_CONNECTION
executed on it.
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.
Executes the destructor for this type. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static