Crate opensrv_mysql

Source

Structs§

AsyncMysqlIntermediary
A server that speaks the MySQL/MariaDB protocol, and can delegate client commands to a backend that implements AsyncMysqlShim.
CapabilityFlags
Client capability flags
Column
Meta-information abot a single column, used either to describe a prepared statement parameter or an output column.
ColumnFlags
MySql column flags
InitWriter
Convenience type for responding to a client USE <db> command.
IntermediaryOptions
The options which passed to AsyncMysqlIntermediary struct
OkResponse
QueryStatusInfo represents the status of a query.
ParamParser
A ParamParser decodes query parameters included in a client’s EXECUTE command given type information for the expected parameters.
ParamValue
A single parameter value provided by a client when issuing an EXECUTE command.
Params
An iterator over parameters provided by a client in an EXECUTE command.
QueryResultWriter
Convenience type for providing query results to clients.
RowWriter
Convenience type for sending rows of a resultset to a client.
StatementMetaWriter
Convenience type for responding to a client PREPARE command.
StatusFlags
MySql server status flags
Value
MySQL value as provided when executing prepared statements.

Enums§

ColumnType
Type of MySql column field
ErrorKind
MySQL error type
ValueInner
A representation of a concrete, typed MySQL value.

Constants§

U24_MAX

Traits§

AsyncMysqlShim
Implementors of this async-trait can be used to drive a MySQL-compatible database backend.
ToMysqlValue
Implementors of this trait can be sent as a single resultset value to a MySQL/MariaDB client.

Functions§

plain_run_with_options
secure_run_with_options
to_naive_datetime