Expand description
Protocol Handling
Wire protocol parsing and serialization for HeliosDB proxy.
Structs§
- Bind
Message - Bind message payload
- Command
Complete - Command complete message
- Error
Response - Error response message
- Execute
Message - Execute message payload
- Message
- A protocol message
- Parse
Message - Parse message payload (prepared statement)
- Protocol
Codec - Protocol codec for framing messages
- Query
Message - Query message payload
Enums§
- Auth
Request - Authentication request types
- Message
Type - Protocol message types
- Startup
Message - Startup message variants
- Transaction
Status - Ready for query message
Functions§
- contains_
ci - Case-insensitive ASCII substring test without allocating.
- query_
text - Borrow the SQL text out of a Query/Parse-style payload without
copying. Mirrors
read_cstringsemantics (bytes up to the first NUL, strict UTF-8) but never allocates — for hot-path inspection where the message itself is forwarded verbatim. - starts_
with_ ci - Case-insensitive ASCII prefix test without allocating an uppercased copy of the haystack.