qail_pg/protocol/wire/mod.rs
1//! PostgreSQL Wire Protocol Messages
2//!
3//! Implementation of the PostgreSQL Frontend/Backend Protocol.
4//! Reference: <https://www.postgresql.org/docs/current/protocol-message-formats.html>
5//!
6//! Split into sub-modules:
7//! - `types` — message enums, structs, and error types
8//! - `frontend` — `FrontendMessage` encoder (client → server)
9//! - `backend` — `BackendMessage` decoder (server → client)
10
11mod backend;
12mod frontend;
13#[cfg(test)]
14mod tests;
15mod types;
16
17pub use types::{
18 BackendMessage, ErrorFields, FieldDescription, FrontendEncodeError, FrontendMessage,
19 PROTOCOL_VERSION_3_0, PROTOCOL_VERSION_3_2, TransactionStatus,
20};