[][src]Module c3p0_mysql::mysql::driver

Modules

chrono

Chrono: Date and Time for Rust

consts
error
params
prelude
serde

Serde

serde_json

Serde JSON

time

Simple time handling.

uuid

Generate and parse UUIDs.

Macros

params

This macro is a convenient way to pass named parameters to a statement.

Structs

Binary

Binary result set marker.

Column

Represents MySql Column (column packet).

Compression

When compressing data, the compression level can be specified by a value in this enum.

Conn

Mysql connection.

Deserialized

Use it to parse T: Deserialize from Value.

FromRowError

FromRow conversion error.

FromValueError

FromValue conversion error.

LocalInfile

Local in-file stream. The callback will be passed a reference to this stream, which it should use to write the contents of the requested file. See LocalInfileHandler documentation for example.

LocalInfileHandler

Callback to handle requests for local files. Consult Mysql documentation for the format of local infile data.

MySqlError
Opts

Mysql connection options.

OptsBuilder

Provides a way to build Opts.

Pool

Pool serves to provide you with a PooledConn's. However you can prepare statements directly on Pool without invoking Pool::get_conn.

PooledConn

Pooled mysql connection which will return to the pool on drop.

QueryResult

Response to a query or statement execution.

QueryWithParams

Representaion of a prepared statement query.

ResultSet
Row

Client side representation of a MySql row.

Serialized

Use it to pass T: Serialize as JSON to a prepared statement.

SetColumns
SslOpts

Ssl Options.

Statement
Text

Text result set marker.

Transaction
TxOpts

MySql transaction options.

Enums

AccessMode

MySql transaction access mode.

DriverError
Error
IsolationLevel

MySql transaction isolation level.

Params

Representations of parameters of a prepared statement.

ServerError

Server error codes (u16)

UrlError
Value

Client side representation of a value of MySql column.

Constants

DEFAULT_STMT_CACHE_SIZE

Default value for client side per-connection statement cache.

Functions

from_row

Will panic if could not convert row to T.

from_row_opt

Will return Err(row) if could not convert row to T

from_value

Will panic if could not convert v to T

from_value_opt

Will return Err(FromValueError(v)) if could not convert v to T

Type Definitions

Result