Expand description
§Getting started on turnloop
Enable the turnloop feature for the asynchronous module. The embedding
host owns LocalExecutor and calls turn; adapters await its streams and
deadline futures. See the crate README and turnloop-io for ownership, streaming
and cancellation examples. Default features retain the sans-I/O API.
Pull-driven MySQL protocol. The host owns transport, entropy, time and JS conversion.
Modules§
- pool
- Sans-I/O pool: the host executes Connect/Close requests, then reports their completion. Checkout events are FIFO; idle reuse is LIFO, as in pg/mysql2.
- types
- mysql2 conversion policy, independent of JS allocation, timezone databases or
a clock.
JsonandDateexplicitly request host-side JS construction.
Structs§
- Column
- Column
Flags - MySql column flags
- Column
Type Info - Per-column wire metadata that decides how a value is decoded. Rows carry it
for every column (
Row::columns,Row::typed), so a host can apply its own policy by MySQL column type without trackingColumnevents. - Config
- Connection
- Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with
Duration. - Row
- One row packet, decoded lazily and validated as it is iterated.
- Server
Error - Statement
- Status
Flags - MySql server status flags
Enums§
- Column
Type - Type of MySql column field
- Error
- Event
- Outcome
- RawValue
- Value
- Client side representation of a value of MySql column.