Structs§
- Backend
KeyData - Column
- Command
Starting - Description
- Extended
Request - An request to execute a SQL query using the extended protocol.
- Notice
- Parameter
Status - SqlError
- SqlResponse
- The response to a
SqlRequest
.
Enums§
- Error
- SqlRequest
- A request to execute SQL over HTTP.
- SqlResult
- The result of a single query in a
SqlResponse
. - Statement
Result 🔒 - WebSocket
Auth - WebSocket
Response
Statics§
Traits§
- Result
Sender 🔒 - Trait describing how to transmit a response to a client. HTTP clients accumulate into a Vec and send all at once. WebSocket clients send each message as they occur.
Functions§
- await_
rows 🔒 - execute_
promsql_ 🔒query - execute_
request 🔒 - Executes an entire
SqlRequest
. - execute_
stmt 🔒 - Executes a single statement in a
SqlRequest
. - execute_
stmt_ 🔒group - Returns Ok(Err) if any statement error’d during execution.
- forward_
notices 🔒 - Forwards a collection of Notices to the provided
WebSocket
. - handle_
promsql - handle_
promsql_ 🔒query - handle_
sql - handle_
sql_ ws - is_
txn_ 🔒exit_ stmt - make_
notices 🔒 - run_ws 🔒
- run_
ws_ 🔒request - send_
and_ 🔒retire - send_
ws_ 🔒response - Sends a single
WebSocketResponse
over the providedWebSocket
.